aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinamountfield.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 17:33:15 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 17:33:15 +0200
commit3479849dc47acd2fb1e191ea690a0c507a97bb73 (patch)
tree1323c6d6a36a9e0fd63370b3dc3372939ba85543 /src/qt/bitcoinamountfield.cpp
parent5eaa1b435c144d841c9a03fb9c478ef760f22d8c (diff)
convert to full tab-based ui
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
-rw-r--r--src/qt/bitcoinamountfield.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp
index f16c0c51e5..1359a32b87 100644
--- a/src/qt/bitcoinamountfield.cpp
+++ b/src/qt/bitcoinamountfield.cpp
@@ -46,6 +46,11 @@ void BitcoinAmountField::setText(const QString &text)
amount->setText(parts[0]);
decimals->setText(parts[1]);
}
+ else
+ {
+ amount->setText(QString());
+ decimals->setText(QString());
+ }
}
QString BitcoinAmountField::text() const