aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kaartinen <[email protected]>2012-03-16 14:23:59 +0200
committerJoel Kaartinen <[email protected]>2012-03-18 23:04:17 +0200
commitaa3d4c0221f7cd1cba6f8f70d58f52521e15a1e6 (patch)
tree1667b42a8685375cfe731cd124b5c6154de32ae0
parentMerge pull request #942 from Diapolo/master (diff)
downloaddiscoin-aa3d4c0221f7cd1cba6f8f70d58f52521e15a1e6.tar.xz
discoin-aa3d4c0221f7cd1cba6f8f70d58f52521e15a1e6.zip
Make the sendcoins dialog use 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)