瀏覽代碼

Removed Show Logs button from MessageWindow

Kenric Nugteren 1 年之前
父節點
當前提交
bb5a2d6439
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      inabox.wpf/Forms/MessageWindow.xaml.cs

+ 2 - 2
inabox.wpf/Forms/MessageWindow.xaml.cs

@@ -293,8 +293,8 @@ public partial class MessageWindow : Window, INotifyPropertyChanged
             .Message(message ?? exception.Message)
             .Title(title)
             .Details(CoreUtils.FormatException(exception))
-            .Image(image ?? _warning)
-            .AddButton(new MessageWindowButton("Show Logs", ShowLogs_Click, MessageWindowButtonPosition.Left));
+            .Image(image ?? _warning);
+        //    .AddButton(new MessageWindowButton("Show Logs", ShowLogs_Click, MessageWindowButtonPosition.Left));
 
         var showDetailsButton = new MessageWindowButton("Show Details", (win, button) =>
         {