aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorToni Uhlig <Toni.Uhlig@tq-group.com>2017-12-01 08:27:08 +0100
committerToni Uhlig <Toni.Uhlig@tq-group.com>2017-12-01 08:27:48 +0100
commitce46de1eefb9f328421586a8efdbea755d3d0e62 (patch)
tree63e945b2ca297ac76e0df9cea8b1b7cdd133b67e /src
parenta7c6cf6baba2461eb068f564dc669621283269b2 (diff)
force an app quit if the user wants so
Diffstat (limited to 'src')
-rw-r--r--src/UpdateGUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UpdateGUI.cpp b/src/UpdateGUI.cpp
index 8547719..ff6697e 100644
--- a/src/UpdateGUI.cpp
+++ b/src/UpdateGUI.cpp
@@ -156,7 +156,7 @@ void UpdateGUIFrame::OnClose(wxCloseEvent& event)
wxYES_NO | wxCENTRE | wxICON_QUESTION);
dlg.SetYesNoLabels("&Quit", "&Don't quit");
switch (dlg.ShowModal()) {
- case wxID_YES: break;
+ case wxID_YES: Destroy(); return;
case wxID_NO:
default: dlg.Destroy(); return;
}