Commit be2e13df authored by Martin Marmsoler's avatar Martin Marmsoler Committed by Julius Künzel
Browse files

Fix wrong comparison of current settings and settings stored in the project settings dialog

previewparameters are compared with proxyParams and previewextension is compared to proxyExtension which is wrong
parent dcfdc702
Pipeline #131140 passed with stage
in 8 minutes and 8 seconds
......@@ -2009,8 +2009,8 @@ void MainWindow::slotEditProjectSettings()
if (KdenliveSettings::audiothumbnails() != w->enableAudioThumbs()) {
slotSwitchAudioThumbs();
}
if (project->getDocumentProperty(QStringLiteral("previewparameters")) != w->proxyParams() ||
project->getDocumentProperty(QStringLiteral("previewextension")) != w->proxyExtension()) {
if (project->getDocumentProperty(QStringLiteral("previewparameters")) != w->previewParams() ||
project->getDocumentProperty(QStringLiteral("previewextension")) != w->previewExtension()) {
modified = true;
project->setDocumentProperty(QStringLiteral("previewparameters"), w->previewParams());
project->setDocumentProperty(QStringLiteral("previewextension"), w->previewExtension());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment