Browse Source

qt: Avoid resetting on resetguisettigs=0

Github-Pull: #12793
Rebased-From: 342fb8034640d4393771899dc132c9e3b170b369
0.16
MarcoFalke 7 years ago
parent
commit
cf6feb7837
  1. 2
      src/qt/bitcoin.cpp

2
src/qt/bitcoin.cpp

@ -689,7 +689,7 @@ int main(int argc, char *argv[])
// Allow parameter interaction before we create the options model // Allow parameter interaction before we create the options model
app.parameterSetup(); app.parameterSetup();
// Load GUI settings from QSettings // Load GUI settings from QSettings
app.createOptionsModel(gArgs.IsArgSet("-resetguisettings")); app.createOptionsModel(gArgs.GetBoolArg("-resetguisettings", false));
// Subscribe to global signals from core // Subscribe to global signals from core
uiInterface.InitMessage.connect(InitMessage); uiInterface.InitMessage.connect(InitMessage);

Loading…
Cancel
Save