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

Method UpdateEntryData

lib/macro/macro-condition-tempvar.cpp:259–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void MacroConditionTempVarEdit::UpdateEntryData()
260{
261 if (!_entryData) {
262 return;
263 }
264
265 _tempVars->SetVariable(_entryData->_tempVar);
266 _variables2->SetVariable(_entryData->_variable2);
267 _conditions->setCurrentIndex(static_cast<int>(_entryData->_type));
268 _strValue->setPlainText(_entryData->_strValue);
269 _numValue->setValue(_entryData->_numValue);
270 _regex->SetRegexConfig(_entryData->_regex);
271 SetWidgetVisibility();
272}
273
274void MacroConditionTempVarEdit::VariableChanged(const TempVariableRef &var)
275{

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