aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinamountfield.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-08-31 16:08:31 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-08-31 16:08:31 +0200
commit6c85cbecf1198d1052c9835ff7e23bb2966d9503 (patch)
treef0b624208f8c38137651afc9adafe5b88cd73faf /src/qt/bitcoinamountfield.cpp
parentb7bcaf940d27fa8cfe89422943fbeaab7a350930 (diff)
comments and readme update
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
-rw-r--r--src/qt/bitcoinamountfield.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp
index ea38cc86dd..f1edc62bbe 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