Commit 2c5a5e58 authored by Martin Marmsoler's avatar Martin Marmsoler Committed by Jean-Baptiste Mardelle
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 6a770c12
......@@ -2008,8 +2008,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