diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/preferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp index 0740d3f51..e0ac4039f 100644 --- a/qt-ui/preferences.cpp +++ b/qt-ui/preferences.cpp @@ -139,8 +139,8 @@ void PreferencesDialog::syncSettings() s.endGroup(); // Defaults s.beginGroup("GeneralSettings"); - s.value("default_filename", ui.defaultfilename->text()); - s.value("default_cylinder", ui.defaultcylinder->text()); + s.setValue("default_filename", ui.defaultfilename->text()); + s.setValue("default_cylinder", ui.defaultcylinder->text()); s.endGroup(); s.beginGroup("Display"); |