mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-01-30 03:03:25 +00:00
UI: Make File menu exit option use OnClose for cleaner shutdown
This commit is contained in:
parent
6cee127852
commit
a87bded17d
@ -807,9 +807,7 @@ void MainWindow::OnNFCMenu(wxCommandEvent& event)
|
||||
|
||||
void MainWindow::OnFileExit(wxCommandEvent& event)
|
||||
{
|
||||
// todo: Safely clean up everything
|
||||
SaveSettings();
|
||||
exit(0);
|
||||
Close();
|
||||
}
|
||||
|
||||
void MainWindow::TogglePadView()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user