mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-22 11:49:38 -05:00
Fix close on OSX
This commit is contained in:
parent
f94f285f62
commit
886425d83d
@ -629,7 +629,7 @@ void AppFrame::OnMenu(wxCommandEvent& event) {
|
|||||||
demodTuner->Refresh();
|
demodTuner->Refresh();
|
||||||
SetTitle(CUBICSDR_TITLE);
|
SetTitle(CUBICSDR_TITLE);
|
||||||
currentSessionFile = "";
|
currentSessionFile = "";
|
||||||
} else if (event.GetId() == wxID_CLOSE) {
|
} else if (event.GetId() == wxID_CLOSE || event.GetId() == wxID_EXIT) {
|
||||||
Close(false);
|
Close(false);
|
||||||
} else if (event.GetId() == wxID_THEME_DEFAULT) {
|
} else if (event.GetId() == wxID_THEME_DEFAULT) {
|
||||||
ThemeMgr::mgr.setTheme(COLOR_THEME_DEFAULT);
|
ThemeMgr::mgr.setTheme(COLOR_THEME_DEFAULT);
|
||||||
|
Loading…
Reference in New Issue
Block a user