diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 7298f9006..7626befdb 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -1744,6 +1744,7 @@ void GeneralSettingsObjectWrapper::setDefaultFileBehavior(short value) QSettings s; s.beginGroup(group); s.setValue("default_file_behavior", value); + prefs.default_file_behavior = value; if (prefs.default_file_behavior == UNDEFINED_DEFAULT_FILE) { // undefined, so check if there's a filename set and |