mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue