summarylogtreecommitdiffstats
path: root/dialog-crash-fix.diff
diff options
context:
space:
mode:
authorJeremy Kescher2022-10-20 00:11:02 +0200
committerJeremy Kescher2022-10-20 00:11:02 +0200
commitd1e3f2c128adc4b44e17435594613282f57fb5aa (patch)
tree4d9a284239020e007ad135f28d74ba1dfaf07ac1 /dialog-crash-fix.diff
parent3ffd8e736b1fbbbbaa84ab58dee95294fb715c97 (diff)
downloadaur-d1e3f2c128adc4b44e17435594613282f57fb5aa.tar.gz
Fix git submodules change, add upstream patches
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)