From 272db616baa16cdf183c8351e9e96897ea4061d5 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 27 Feb 2022 16:24:36 +0100 Subject: [PATCH] Fix DebugSteps not working when changing to ILAstLanguage. --- ILSpy/Views/DebugSteps.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/Views/DebugSteps.xaml.cs b/ILSpy/Views/DebugSteps.xaml.cs index 2b46753dd..46eb588ca 100644 --- a/ILSpy/Views/DebugSteps.xaml.cs +++ b/ILSpy/Views/DebugSteps.xaml.cs @@ -31,7 +31,7 @@ namespace ICSharpCode.ILSpy #if DEBUG DockWorkspace.Instance.PropertyChanged += DockWorkspace_PropertyChanged; - this.filterSettings = MainWindow.Instance.SessionSettings.FilterSettings; + filterSettings = DockWorkspace.Instance.ActiveTabPage.FilterSettings; filterSettings.PropertyChanged += FilterSettings_PropertyChanged; MainWindow.Instance.SelectionChanged += SelectionChanged; writingOptions.PropertyChanged += WritingOptions_PropertyChanged;