mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -05:00
Prevent crash when OCR traineddata file is missing
This commit is contained in:
@@ -391,6 +391,7 @@ void PreviewImage::MarkOCRMatch(QImage &screenshot,
|
||||
if (!text) {
|
||||
emit StatusUpdate(obs_module_text(
|
||||
"AdvSceneSwitcher.condition.video.ocrMatchFail"));
|
||||
return;
|
||||
}
|
||||
|
||||
QString status(obs_module_text(
|
||||
|
||||
Reference in New Issue
Block a user