Merge pull request #928 from jojkaart/master
authorWladimir J. van der Laan <laanwj@gmail.com>
Mon, 19 Mar 2012 08:08:43 +0000 (01:08 -0700)
committerWladimir J. van der Laan <laanwj@gmail.com>
Mon, 19 Mar 2012 08:08:43 +0000 (01:08 -0700)
Make send coins dialog honor the configured unit type even on the first attempt.

src/qt/sendcoinsentry.cpp

index d98400c..caffaae 100644 (file)
@@ -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)