]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
Fix profiles dialog button:
[kdenlive] / src / mainwindow.cpp
index 4b8ef43536fa6f64792c495c007851a34c87645f..4ce338028462ce39425ee063f3b8752dc92d3a98 100644 (file)
@@ -1353,7 +1353,9 @@ void MainWindow::slotPreferences(int page, int option) {
     // cached, in which case you want to display the cached dialog
     // instead of creating another one
     if (KConfigDialog::showDialog("settings")) {
-        if (page != -1) static_cast <KdenliveSettingsDialog*>(KConfigDialog::exists("settings"))->showPage(page, option);
+        KdenliveSettingsDialog* d = static_cast <KdenliveSettingsDialog*>(KConfigDialog::exists("settings"));
+        if (page != -1) d->showPage(page, option);
+        d->checkProfile();
         return;
     }