From 271376d0c4c07d430212c4dbd23ffa960177630b Mon Sep 17 00:00:00 2001 From: diluculo Date: Mon, 21 May 2018 20:27:58 +0900 Subject: [PATCH] Suppress System.Windows.Data Error warnings --- src/Gemini/Modules/MainMenu/Views/MainMenuView.xaml.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Gemini/Modules/MainMenu/Views/MainMenuView.xaml.cs b/src/Gemini/Modules/MainMenu/Views/MainMenuView.xaml.cs index 504b241b..3aa2c7b9 100644 --- a/src/Gemini/Modules/MainMenu/Views/MainMenuView.xaml.cs +++ b/src/Gemini/Modules/MainMenu/Views/MainMenuView.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -22,6 +22,10 @@ public partial class MainMenuView : UserControl public MainMenuView() { InitializeComponent(); + +#if DEBUG + System.Diagnostics.PresentationTraceSources.DataBindingSource.Switch.Level = System.Diagnostics.SourceLevels.Critical; +#endif } } }