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

Method ImagePathChanged

plugins/video/macro-condition-video.cpp:1487–1497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1485}
1486
1487void 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
1499void MacroConditionVideoEdit::ImageBrowseButtonClicked()
1500{

Callers

nothing calls this directly

Calls 3

ResetLastMatchMethod · 0.80
LoadImageFromFileMethod · 0.80

Tested by

no test coverage detected