aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.cpp
diff options
context:
space:
mode:
authorJoel Kaartinen <jkaartinen@iki.fi>2012-03-16 14:23:59 +0200
committerJoel Kaartinen <jkaartinen@iki.fi>2012-03-18 23:04:17 +0200
commitaa3d4c0221f7cd1cba6f8f70d58f52521e15a1e6 (patch)
tree1667b42a8685375cfe731cd124b5c6154de32ae0 /src/qt/sendcoinsentry.cpp
parent840f69c582b35391d38524e5216991836035d1db (diff)
Make the sendcoins dialog use the configured unit type, even on the first attempt.
Diffstat (limited to 'src/qt/sendcoinsentry.cpp')
-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)