Browse Source

Fix #2732: Set focus on tree node after refresh.

pull/2737/head
Siegfried Pammer 3 years ago
parent
commit
e65c0c88fd
  1. 2
      ILSpy/MainWindow.xaml.cs

2
ILSpy/MainWindow.xaml.cs

@ -1415,7 +1415,7 @@ namespace ICSharpCode.ILSpy @@ -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
{

Loading…
Cancel
Save