diff options
| author | Andrew Chow <[email protected]> | 2016-08-10 15:35:22 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2016-08-24 09:40:48 -0400 |
| commit | 57acb82e7014f3214229349485fa3f57842b10ae (patch) | |
| tree | 74318638715861ecf66e5ff177b3b15ef717e422 /src/qt/optionsmodel.cpp | |
| parent | Persist the datadir after option reset (diff) | |
| download | discoin-57acb82e7014f3214229349485fa3f57842b10ae.tar.xz discoin-57acb82e7014f3214229349485fa3f57842b10ae.zip | |
Load choose datadir dialog after options reset
Diffstat (limited to 'src/qt/optionsmodel.cpp')
| -rw-r--r-- | src/qt/optionsmodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp index 7987d8e7e..5538a2841 100644 --- a/src/qt/optionsmodel.cpp +++ b/src/qt/optionsmodel.cpp @@ -164,6 +164,9 @@ void OptionsModel::Reset() // Set strDataDir settings.setValue("strDataDir", dataDir); + // Set that this was reset + settings.setValue("fReset", true); + // default setting for OptionsModel::StartAtStartup - disabled if (GUIUtil::GetStartOnSystemStartup()) GUIUtil::SetStartOnSystemStartup(false); |