Set screenshot file extension to *.png

Files without any file extension are not properly loaded as an QImage and
thus pattern matching might not work
This commit is contained in:
WarmUpTill 2022-06-24 17:01:52 +02:00 committed by WarmUpTill
parent e11d882e87
commit db3affc43d

View File

@ -566,7 +566,7 @@ void MacroConditionVideoEdit::ImageBrowseButtonClicked()
ScreenshotHelper screenshot(source);
obs_source_release(source);
path = QFileDialog::getSaveFileName(this);
path = QFileDialog::getSaveFileName(this, "", "", "*.png");
if (path.isEmpty()) {
return;
}