aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-01 15:44:39 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-01 15:44:47 -0400
commit36d9b2311dcb7401ea0d3deda636bc50f135c522 (patch)
treecd0fc902eb5eafb33e814b921c20e765e3bf4e9a
parent783c636c73182731ca12e6af67516767a989da66 (diff)
Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.
-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)