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.
pull/2/merge
Matt Corallo 14 years ago
parent e5577d5541
commit 2f62b1299f

@ -1952,6 +1952,7 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
{
wxMessageBox(strError + " ", _("Sending..."));
EndModal(false);
return;
}
}
}

Loading…
Cancel
Save