aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-03-26 15:13:33 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-03-26 15:13:33 -0400
commit342fb8034640d4393771899dc132c9e3b170b369 (patch)
treebc46fb4a2ca444af67155edd557eac2f0e1e9206 /src/qt/bitcoin.cpp
parentbb81e1735575e1c00e808326735168cc9810c174 (diff)
qt: Avoid resetting on resetguisettigs=0
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 2b6bd354a0..2802639f60 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -691,7 +691,7 @@ int main(int argc, char *argv[])
// Allow parameter interaction before we create the options model
app.parameterSetup();
// Load GUI settings from QSettings
- app.createOptionsModel(gArgs.IsArgSet("-resetguisettings"));
+ app.createOptionsModel(gArgs.GetBoolArg("-resetguisettings", false));
// Subscribe to global signals from core
uiInterface.InitMessage.connect(InitMessage);