summarylogtreecommitdiffstats
path: root/dialog-crash-fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dialog-crash-fix.diff')
-rw-r--r--dialog-crash-fix.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/dialog-crash-fix.diff b/dialog-crash-fix.diff
new file mode 100644
index 000000000000..5d8cea6a4d98
--- /dev/null
+++ b/dialog-crash-fix.diff
@@ -0,0 +1,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)