MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / UpdateEntryData

Method UpdateEntryData

lib/macro/macro-condition-variable.cpp:222–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void MacroConditionVariableEdit::UpdateEntryData()
223{
224 if (!_entryData) {
225 return;
226 }
227
228 _variables->SetVariable(_entryData->_variable);
229 _variables2->SetVariable(_entryData->_variable2);
230 _conditions->setCurrentIndex(static_cast<int>(_entryData->_type));
231 _strValue->setPlainText(_entryData->_strValue);
232 _numValue->setValue(_entryData->_numValue);
233 _regex->SetRegexConfig(_entryData->_regex);
234 SetWidgetVisibility();
235}
236
237void MacroConditionVariableEdit::VariableChanged(const QString &text)
238{

Callers

nothing calls this directly

Calls 4

setPlainTextMethod · 0.80
SetRegexConfigMethod · 0.80
SetVariableMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected