Browse Source

Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.

miguelfreitas
Gavin Andresen 13 years ago
parent
commit
36d9b2311d
  1. 4
      src/ui.cpp

4
src/ui.cpp

@ -1032,7 +1032,6 @@ void MainFrameRepaint() @@ -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) @@ -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)

Loading…
Cancel
Save