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:
parent
b38e2ab485
commit
46112cbcd6
@ -172,9 +172,11 @@ void PreferencesDialog::buttonClicked(QAbstractButton* button)
|
||||
close();
|
||||
break;
|
||||
case QDialogButtonBox::Apply:
|
||||
setPrefsFromUi();
|
||||
syncSettings();
|
||||
break;
|
||||
case QDialogButtonBox::FirstButton:
|
||||
setPrefsFromUi();
|
||||
syncSettings();
|
||||
close();
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user