aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-03-19 01:08:43 -0700
committerWladimir J. van der Laan <[email protected]>2012-03-19 01:08:43 -0700
commitbd9c6f88be2ccea64ad39391f7a6c629c7f1c9d5 (patch)
tree401309fe414b701024de35e69cf5ad03887ca5bc
parentMerge pull request #931 from luke-jr/dbg_loaderr (diff)
parentMake the sendcoins dialog use the configured unit type, even on the first att... (diff)
downloaddiscoin-bd9c6f88be2ccea64ad39391f7a6c629c7f1c9d5.tar.xz
discoin-bd9c6f88be2ccea64ad39391f7a6c629c7f1c9d5.zip
Merge pull request #928 from jojkaart/master
Make send coins dialog honor the configured unit type even on the first attempt.
-rw-r--r--src/qt/sendcoinsentry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp
index d98400c26..caffaaeff 100644
--- a/src/qt/sendcoinsentry.cpp
+++ b/src/qt/sendcoinsentry.cpp
@@ -66,6 +66,7 @@ void SendCoinsEntry::on_payTo_textChanged(const QString &address)
void SendCoinsEntry::setModel(WalletModel *model)
{
this->model = model;
+ clear();
}
void SendCoinsEntry::setRemoveEnabled(bool enabled)