diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-22 17:06:37 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-22 17:06:37 +0200 |
commit | 73cd5e5212be7ff05f7205c1e7519af1cf01e322 (patch) | |
tree | 2afeb72a63b08600306182aef85bdea825231f42 /src/qt/bitcoinamountfield.cpp | |
parent | 174b3eddc05f26abbc97a83027a4da9ba4114d57 (diff) |
fix clear() (clear red/invalid status)
Diffstat (limited to 'src/qt/bitcoinamountfield.cpp')
-rw-r--r-- | src/qt/bitcoinamountfield.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp index d545dc52e8..f9df91b333 100644 --- a/src/qt/bitcoinamountfield.cpp +++ b/src/qt/bitcoinamountfield.cpp @@ -55,6 +55,12 @@ void BitcoinAmountField::setText(const QString &text) } } +void BitcoinAmountField::clear() +{ + amount->clear(); + decimals->clear(); +} + bool BitcoinAmountField::validate() { bool valid = true; |