forgot to uncomment a line

pull/30/head
Miepee 5 years ago
parent 0b11bc6536
commit b472319042

@ -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.

Loading…
Cancel
Save