Use a messagebox to display the error when -server is provided without providing...
[novacoin.git] / 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)