UI: Make File menu exit option use OnClose for cleaner shutdown
Some checks are pending
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run

This commit is contained in:
goeiecool9999
2025-12-18 15:26:39 +01:00
parent 6cee127852
commit a87bded17d

View File

@@ -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()