diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-10-28 11:51:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-10-28 07:31:17 -0700 |
commit | 324b1d2dfc885226c2df81e78ddea4b6098aeaf8 (patch) | |
tree | fe398fd0773d789d564f1ce3a1f29de66b89d156 /core | |
parent | eb6f9e263c5e41e56fa4e6fe820839f26c27661d (diff) | |
download | subsurface-324b1d2dfc885226c2df81e78ddea4b6098aeaf8.tar.gz |
Fix default file behavior tests
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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 |