changeset 2829:034dc78ac39a draft

Make the sendcoins dialog use the configured unit type, even on the first attempt.
author Joel Kaartinen <jkaartinen@iki.fi>
date Fri, 16 Mar 2012 14:23:59 +0200
parents 2d4453b434f7
children 28b6355a3dfa
files src/qt/sendcoinsentry.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt/sendcoinsentry.cpp
+++ b/src/qt/sendcoinsentry.cpp
@@ -66,6 +66,7 @@
 void SendCoinsEntry::setModel(WalletModel *model)
 {
     this->model = model;
+    clear();
 }
 
 void SendCoinsEntry::setRemoveEnabled(bool enabled)