From e65c0c88fdce87c2ab55a064fe0e4ae8fcaa065f Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 3 Jul 2022 21:57:56 +0200 Subject: [PATCH] Fix #2732: Set focus on tree node after refresh. --- ILSpy/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index 67d74db04..20c680e8f 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -1415,7 +1415,7 @@ namespace ICSharpCode.ILSpy refreshInProgress = true; var path = GetPathForNode(AssemblyTreeView.SelectedItem as SharpTreeNode); ShowAssemblyList(AssemblyListManager.LoadList(assemblyList.ListName)); - SelectNode(FindNodeByPath(path, true), false, false); + SelectNode(FindNodeByPath(path, true), inNewTabPage: false, AssemblyTreeView.IsFocused); } finally {