diff options
| author | Cozz Lovan <[email protected]> | 2014-02-02 01:59:57 +0100 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-02-02 01:59:57 +0100 |
| commit | eb0d9ecb6e206bcfdf9a2eb6157fb8030046980f (patch) | |
| tree | b98e66921d5ccaa98811e46e871a6f96129b4e69 /src/qt/optionsmodel.cpp | |
| parent | Merge pull request #3605 (diff) | |
| download | discoin-eb0d9ecb6e206bcfdf9a2eb6157fb8030046980f.tar.xz discoin-eb0d9ecb6e206bcfdf9a2eb6157fb8030046980f.zip | |
[Qt] Fix nTransactionFee in qt-settings
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 a18fd1d51..c1dbd916b 100644 --- a/src/qt/optionsmodel.cpp +++ b/src/qt/optionsmodel.cpp @@ -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")) |