aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index c820cf7df5..198a27209a 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -1032,7 +1032,6 @@ void MainFrameRepaint()
printf("MainFrameRepaint\n");
wxPaintEvent event;
pframeMain->fRefresh = true;
- pframeMain->fRefreshListCtrl = true;
pframeMain->GetEventHandler()->AddPendingEvent(event);
}
}
@@ -2173,7 +2172,10 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
strError = pwalletMain->SendMoney(scriptPubKey, nValue, wtx, true);
}
if (strError == "")
+ {
+ pframeMain->RefreshListCtrl();
wxMessageBox(_("Payment sent "), _("Sending..."));
+ }
else if (strError == "ABORTED")
{
if (fWasLocked)