mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-04 10:07:27 -05:00
When an error is returned, the client crashes as EndModal is called twice.
This fixes that and simply returns instead. At least GTK won't complain.
This commit is contained in:
parent
e5577d5541
commit
2f62b1299f
1 changed files with 1 additions and 0 deletions
1
ui.cpp
1
ui.cpp
|
@ -1952,6 +1952,7 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
wxMessageBox(strError + " ", _("Sending..."));
|
wxMessageBox(strError + " ", _("Sending..."));
|
||||||
EndModal(false);
|
EndModal(false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue