Mercurial > hg > bitcoin
changeset 903:45ea18cec6f9 draft
Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Thu, 01 Sep 2011 15:44:39 -0400 |
parents | 39a5e23e1503 |
children | d0d5b8e11e66 |
files | src/ui.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ui.cpp +++ b/src/ui.cpp @@ -1032,7 +1032,6 @@ printf("MainFrameRepaint\n"); wxPaintEvent event; pframeMain->fRefresh = true; - pframeMain->fRefreshListCtrl = true; pframeMain->GetEventHandler()->AddPendingEvent(event); } } @@ -2173,7 +2172,10 @@ strError = pwalletMain->SendMoney(scriptPubKey, nValue, wtx, true); } if (strError == "") + { + pframeMain->RefreshListCtrl(); wxMessageBox(_("Payment sent "), _("Sending...")); + } else if (strError == "ABORTED") { if (fWasLocked)