summarylogtreecommitdiffstats
path: root/dialog-crash-fix.diff
blob: 5d8cea6a4d989d6f2de82eb7fff55896517c7336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/src/gui/MainWindow.cpp
+++ b/src/gui/MainWindow.cpp
@@ -763,7 +763,6 @@ void MainWindow::OpenSettings()
 	frame.ShowModal();
 	const bool paths_modified = frame.ShouldReloadGamelist();
 	const bool mlc_modified = frame.MLCModified();
-	frame.Destroy();
 
 	if (paths_modified)
 		m_game_list->ReloadGameEntries(false);
@@ -1722,7 +1721,6 @@ void MainWindow::OnTimer(wxTimerEvent& event)
 			{
 				CemuUpdateWindow update_window(this);
 				update_window.ShowModal();
-				update_window.Destroy();
 			}
 		}
 
@@ -1999,7 +1997,6 @@ void MainWindow::OnHelpUpdate(wxCommandEvent& event)
 {
 	CemuUpdateWindow test(this);
 	test.ShowModal();
-	test.Destroy();
 }
 
 void MainWindow::OnHelpGettingStarted(wxCommandEvent& event)