Fixes window close action on Linux

This commit is contained in:
Germano Massullo 2019-04-12 14:16:28 +02:00
parent 18aa95e084
commit 581a051ab1
1 changed files with 2 additions and 3 deletions

View File

@ -330,9 +330,8 @@ void CBOINCBaseFrame::OnClose(wxCloseEvent& event) {
Destroy(); Destroy();
} else { } else {
#ifdef __WXGTK__ #ifdef __WXGTK__
// Apparently aborting a close event just causes the main window to be displayed wxGetApp().FrameClosed();
// again. Just minimize the window instead. Destroy();
Iconize();
#else #else
Hide(); Hide();
#endif #endif