fix unlocalised dialog title

This commit is contained in:
Jack Baron 2020-11-16 13:57:05 +00:00
parent 57822f3721
commit 2f0375bb86
No known key found for this signature in database
GPG key ID: CD10BCEEC646C064

View file

@ -221,7 +221,7 @@ namespace ModAssistant
{
string title = (string)Current.FindResource("App:Exception");
string body = (string)Current.FindResource("App:UnhandledException");
MessageBox.Show($"{body}: {e.Exception}", "Exception", MessageBoxButton.OK, MessageBoxImage.Warning);
MessageBox.Show($"{body}: {e.Exception}", title, MessageBoxButton.OK, MessageBoxImage.Warning);
e.Handled = true;
Application.Current.Shutdown();