@@ -112,7 +112,7 @@ namespace PixiEditor.Models.IO
}
catch (Exception err)
{
- MessageBox.Show(err.ToString(), "Error", MessageBoxButton.OK, MessageBoxImage.Error);
+ NoticeDialog.Show(err.ToString(), "Error");
@@ -127,11 +127,9 @@ namespace PixiEditor.ViewModels.SubViewModels.Main
catch (Win32Exception)
- MessageBox.Show(
+ NoticeDialog.Show(
"Couldn't update without administrator rights.",
- "Insufficient permissions",
- MessageBoxButton.OK,
- MessageBoxImage.Error);
+ "Insufficient permissions");