diff options
| author | Matt Corallo <[email protected]> | 2011-05-06 04:07:11 +0200 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2011-05-06 13:32:20 +0200 |
| commit | 2f62b1299f1d2d8e56ff9096017b1f3835b41642 (patch) | |
| tree | 0e5ad9fe2a435edfc135765547909c19a1962810 | |
| parent | Fix broken build (remove declarations of GUI generate methods) (diff) | |
| download | discoin-2f62b1299f1d2d8e56ff9096017b1f3835b41642.tar.xz discoin-2f62b1299f1d2d8e56ff9096017b1f3835b41642.zip | |
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.
| -rw-r--r-- | ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1952,6 +1952,7 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event) { wxMessageBox(strError + " ", _("Sending...")); EndModal(false); + return; } } } |