aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2011-05-06 04:33:44 -0700
committerJeff Garzik <[email protected]>2011-05-06 04:33:44 -0700
commit4408034bcd70032b582e26637a67166df578a8f4 (patch)
tree0704aee00e67dc659145240c927959f30368ddeb
parentMerge pull request #196 from amiryal/master (diff)
parentWhen an error is returned, the client crashes as EndModal is called twice. (diff)
downloaddiscoin-4408034bcd70032b582e26637a67166df578a8f4.tar.xz
discoin-4408034bcd70032b582e26637a67166df578a8f4.zip
Merge pull request #197 from TheBlueMatt/errorfix
Fix GUI crash
-rw-r--r--ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index 855423954..f2bdd49d5 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -1929,6 +1929,7 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
{
wxMessageBox(strError + " ", _("Sending..."));
EndModal(false);
+ return;
}
}
}