| 1485 | } |
| 1486 | |
| 1487 | void MacroConditionVideoEdit::ImagePathChanged(const QString &text) |
| 1488 | { |
| 1489 | GUARD_LOADING_AND_LOCK(); |
| 1490 | _entryData->_file = text.toUtf8().constData(); |
| 1491 | _entryData->ResetLastMatch(); |
| 1492 | if (_entryData->LoadImageFromFile()) { |
| 1493 | UpdatePreviewTooltip(); |
| 1494 | } |
| 1495 | _previewDialog.PatternMatchParametersChanged( |
| 1496 | _entryData->_patternMatchParameters); |
| 1497 | } |
| 1498 | |
| 1499 | void MacroConditionVideoEdit::ImageBrowseButtonClicked() |
| 1500 | { |
nothing calls this directly
no test coverage detected