[Qt] Fix nTransactionFee in qt-settings

This commit is contained in:
Cozz Lovan 2014-02-02 01:59:57 +01:00
parent 15ec451554
commit eb0d9ecb6e

View file

@ -73,6 +73,9 @@ void OptionsModel::Init()
#ifdef ENABLE_WALLET
if (!settings.contains("nTransactionFee"))
settings.setValue("nTransactionFee", 0);
nTransactionFee = settings.value("nTransactionFee").toLongLong(); // if -paytxfee is set, this will be overridden later in init.cpp
if (mapArgs.count("-paytxfee"))
strOverriddenByCommandLine += "-paytxfee ";
#endif
if (!settings.contains("nDatabaseCache"))