mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Settings for Display preferences didn't really set the preferences.
The code that should set the preferences was actually retrieving it, this will correctly set it. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4e263bae98
commit
8a116ba510
1 changed files with 3 additions and 3 deletions
|
@ -179,9 +179,9 @@ void PreferencesDialog::syncSettings()
|
|||
s.endGroup();
|
||||
|
||||
s.beginGroup("Display");
|
||||
s.value("divelist_font", ui.font->font().family());
|
||||
s.value("font_size", ui.fontsize->value());
|
||||
s.value("displayinvalid", ui.displayinvalid->isChecked());
|
||||
s.setValue("divelist_font", ui.font->font().family());
|
||||
s.setValue("font_size", ui.fontsize->value());
|
||||
s.setValue("displayinvalid", ui.displayinvalid->isChecked());
|
||||
s.endGroup();
|
||||
s.sync();
|
||||
|
||||
|
|
Loading…
Reference in a new issue