Skip to content

Commit

Permalink
Merge pull request #1313 from davidlamhauge/1309_autosave_settings
Browse files Browse the repository at this point in the history
1309 restore autosave settings
  • Loading branch information
candyface authored Mar 6, 2020
2 parents ba13b9c + 9f5b048 commit 41501dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core_lib/src/managers/preferencemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ void PreferenceManager::loadPrefs()
set(SETTING::FIELD_H, settings.value(SETTING_FIELD_H, 600).toInt());

// Files
set(SETTING::AUTO_SAVE, settings.value(SETTING_AUTO_SAVE, false).toBool());
set(SETTING::AUTO_SAVE_NUMBER, settings.value(SETTING_AUTO_SAVE_NUMBER, 256).toInt());
set(SETTING::ASK_FOR_PRESET, settings.value(SETTING_ASK_FOR_PRESET, false).toBool());
set(SETTING::DEFAULT_PRESET, settings.value(SETTING_DEFAULT_PRESET, 0).toInt());
Expand Down

0 comments on commit 41501dd

Please sign in to comment.