From 46112cbcd65872be43d0e05ffd7b49cc2972f854 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 4 Jun 2013 06:29:33 +0900 Subject: Explicitly store UI values to prefs This helper wasn't called as intended - but because of the syncSettings call which emits settingsChanged this only became visible for the default_filename. Next I need to clean up what is called for the settingsChanged signal. Signed-off-by: Dirk Hohndel --- qt-ui/preferences.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') 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; -- cgit v1.2.3-70-g09d2