aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2011-09-01 15:44:39 -0400
committerGavin Andresen <[email protected]>2011-09-01 15:44:47 -0400
commit36d9b2311dcb7401ea0d3deda636bc50f135c522 (patch)
treecd0fc902eb5eafb33e814b921c20e765e3bf4e9a /src/ui.cpp
parentMerge pull request #467 from gavinandresen/keypoolzero (diff)
downloaddiscoin-36d9b2311dcb7401ea0d3deda636bc50f135c522.tar.xz
discoin-36d9b2311dcb7401ea0d3deda636bc50f135c522.zip
Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.
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 c820cf7df..198a27209 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)