Browse Source

Improved report message box when loads of errors

Kenric Nugteren 1 year ago
parent
commit
2674028974
1 changed files with 1 additions and 1 deletions
  1. 1 1
      inabox.wpf/Reports/PreviewWindow.xaml.cs

+ 1 - 1
inabox.wpf/Reports/PreviewWindow.xaml.cs

@@ -198,7 +198,7 @@ namespace InABox.Wpf.Reports
                             }
                             }
                             catch (Exception e)
                             catch (Exception e)
                             {
                             {
-                                MessageWindow.ShowMessage(e.Message,"Error in Report");
+                                MessageWindow.ShowError("Some errors were found in this report.", e.Message, "Errors in report");
                                 CloseLoading();
                                 CloseLoading();
                                 ShowDesigner();
                                 ShowDesigner();
                             }
                             }