mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix default file behavior tests
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
eb6f9e263c
commit
324b1d2dfc
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue