| 269 | } |
| 270 | |
| 271 | void MacroConditionFileEdit::UpdateEntryData() |
| 272 | { |
| 273 | if (!_entryData) { |
| 274 | return; |
| 275 | } |
| 276 | |
| 277 | _conditions->setCurrentIndex( |
| 278 | static_cast<int>(_entryData->GetCondition())); |
| 279 | _filePath->SetPath(_entryData->_file); |
| 280 | _matchText->setPlainText(_entryData->_text); |
| 281 | _regex->SetRegexConfig(_entryData->_regex); |
| 282 | |
| 283 | SetWidgetVisibility(); |
| 284 | } |
| 285 | |
| 286 | void MacroConditionFileEdit::ConditionChanged(int index) |
| 287 | { |
nothing calls this directly
no test coverage detected