Browse Source

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.
0.8
Matt Corallo 14 years ago
parent
commit
2f62b1299f
  1. 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…
Cancel
Save