diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-08-31 16:08:31 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-08-31 16:08:31 +0200 |
| commit | 6c85cbecf1198d1052c9835ff7e23bb2966d9503 (patch) | |
| tree | f0b624208f8c38137651afc9adafe5b88cd73faf /src/qt/bitcoinamountfield.cpp | |
| parent | Wallet encryption part 2: ask passphrase when needed, add menu options (diff) | |
| download | discoin-6c85cbecf1198d1052c9835ff7e23bb2966d9503.tar.xz discoin-6c85cbecf1198d1052c9835ff7e23bb2966d9503.zip | |
comments and readme update
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
| -rw-r--r-- | src/qt/bitcoinamountfield.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp index ea38cc86d..f1edc62bb 100644 --- a/src/qt/bitcoinamountfield.cpp +++ b/src/qt/bitcoinamountfield.cpp @@ -161,6 +161,7 @@ void BitcoinAmountField::unitChanged(int idx) if(valid) { + // If value was valid, re-place it in the widget with the new unit setValue(currentValue); } else |