summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/preferences.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index c4ca83e1f..9a2eff8f1 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -172,9 +172,11 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button)
close();
break;
case QDialogButtonBox::Apply:
+ setPrefsFromUi();
syncSettings();
break;
case QDialogButtonBox::FirstButton:
+ setPrefsFromUi();
syncSettings();
close();
break;