fix message boxes
This commit is contained in:
parent
a3af0d43df
commit
582d663baa
@ -398,8 +398,12 @@ public partial class MainWindow : Window {
|
||||
Config.SaveGlobal();
|
||||
} catch (Exception error) {
|
||||
var box = MessageBoxManager
|
||||
.GetMessageBoxStandard("There was an error saving your settings" + error.Message);
|
||||
box.Show();
|
||||
.GetMessageBoxStandard(
|
||||
"Error",
|
||||
"There was an error saving your settings" + error.Message
|
||||
);
|
||||
var result = box.ShowAsPopupAsync(this);
|
||||
result.Wait();
|
||||
}
|
||||
}
|
||||
|
||||
@ -677,12 +681,13 @@ public partial class MainWindow : Window {
|
||||
} catch (Exception) {
|
||||
var box = MessageBoxManager
|
||||
.GetMessageBoxStandard(
|
||||
"Sorry!",
|
||||
"The log could not be split into discord appropriate length.\n" +
|
||||
"This happens with the bigger logs formats if you do lots of things in one system.\n" +
|
||||
"Try posting the log in the OneLine format.",
|
||||
"Sorry!"
|
||||
"Try posting the log in the OneLine format. "
|
||||
);
|
||||
box.Show();
|
||||
var result = box.ShowAsPopupAsync(this);
|
||||
result.Wait();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user