Skip to content

Commit

Permalink
qt: Avoid resetting on resetguisettigs=0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Mar 26, 2018
1 parent bb81e17 commit 342fb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 342fb80

Please sign in to comment.