fix message boxes
This commit is contained in:
parent
a3af0d43df
commit
582d663baa
@ -398,8 +398,12 @@ public partial class MainWindow : Window {
|
|||||||
Config.SaveGlobal();
|
Config.SaveGlobal();
|
||||||
} catch (Exception error) {
|
} catch (Exception error) {
|
||||||
var box = MessageBoxManager
|
var box = MessageBoxManager
|
||||||
.GetMessageBoxStandard("There was an error saving your settings" + error.Message);
|
.GetMessageBoxStandard(
|
||||||
box.Show();
|
"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) {
|
} catch (Exception) {
|
||||||
var box = MessageBoxManager
|
var box = MessageBoxManager
|
||||||
.GetMessageBoxStandard(
|
.GetMessageBoxStandard(
|
||||||
|
"Sorry!",
|
||||||
"The log could not be split into discord appropriate length.\n" +
|
"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" +
|
"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.",
|
"Try posting the log in the OneLine format. "
|
||||||
"Sorry!"
|
|
||||||
);
|
);
|
||||||
box.Show();
|
var result = box.ShowAsPopupAsync(this);
|
||||||
|
result.Wait();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user