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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-06-04 06:29:33 +09:00
parent b38e2ab485
commit 46112cbcd6

View file

@ -172,9 +172,11 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button)
close();
break;
case QDialogButtonBox::Apply:
setPrefsFromUi();
syncSettings();
break;
case QDialogButtonBox::FirstButton:
setPrefsFromUi();
syncSettings();
close();
break;