| 220 | } |
| 221 | |
| 222 | void 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 | |
| 237 | void MacroConditionVariableEdit::VariableChanged(const QString &text) |
| 238 | { |
nothing calls this directly
no test coverage detected