| 257 | } |
| 258 | |
| 259 | void 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 | |
| 274 | void MacroConditionTempVarEdit::VariableChanged(const TempVariableRef &var) |
| 275 | { |
nothing calls this directly
no test coverage detected