diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 805764c..5e936a4 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -629,7 +629,7 @@ void AppFrame::OnMenu(wxCommandEvent& event) { demodTuner->Refresh(); SetTitle(CUBICSDR_TITLE); currentSessionFile = ""; - } else if (event.GetId() == wxID_CLOSE) { + } else if (event.GetId() == wxID_CLOSE || event.GetId() == wxID_EXIT) { Close(false); } else if (event.GetId() == wxID_THEME_DEFAULT) { ThemeMgr::mgr.setTheme(COLOR_THEME_DEFAULT);