From b4723190421149d9f6bbbed1f3a32b6b0e93fa74 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:44:25 +0100 Subject: [PATCH] forgot to uncomment a line --- AM2RLauncher/AM2RLauncher.Mac/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher.Mac/Program.cs b/AM2RLauncher/AM2RLauncher.Mac/Program.cs index 6cce445..6350b83 100644 --- a/AM2RLauncher/AM2RLauncher.Mac/Program.cs +++ b/AM2RLauncher/AM2RLauncher.Mac/Program.cs @@ -58,10 +58,10 @@ namespace AM2RLauncher.Mac private static void MacLauncher_UnhandledException(object sender, Eto.UnhandledExceptionEventArgs e) { log.Error("An unhandled exception has occurred: \n*****Stack Trace*****\n\n" + e.ExceptionObject.ToString()); - /*Application.Instance.Invoke(new Action(() => + Application.Instance.Invoke(new Action(() => { MessageBox.Show(Language.Text.UnhandledException + "\n*****Stack Trace*****\n\n" + e.ExceptionObject.ToString(), "Mac", MessageBoxType.Error); - }));*/ + })); } // This is a duplicate of CrossPlatformOperations.GenerateCurrentPath, because trying to invoke that would cause a crash due to currentPlatform not being initialized.