aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-03-19 01:08:43 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-03-19 01:08:43 -0700
commitbd9c6f88be2ccea64ad39391f7a6c629c7f1c9d5 (patch)
tree401309fe414b701024de35e69cf5ad03887ca5bc /src
parent0b99d1b574f33a67c8bfae0a149ef70346d4a114 (diff)
parentaa3d4c0221f7cd1cba6f8f70d58f52521e15a1e6 (diff)
Merge pull request #928 from jojkaart/master
Make send coins dialog honor the configured unit type even on the first attempt.
Diffstat (limited to 'src')
-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 d98400c260..caffaaeff2 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)