Fixed regression I introduced: wallets with lots of transactions were unusable in GUI.
This commit is contained in:
parent
783c636c73
commit
36d9b2311d
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue