Browse Source

Fixed keyboard navigation after jumping to another node.

pull/1/head
Daniel Grunwald 15 years ago
parent
commit
08e2a2181f
  1. 5
      ILSpy/MainWindow.xaml.cs

5
ILSpy/MainWindow.xaml.cs

@ -115,11 +115,8 @@ namespace ICSharpCode.ILSpy @@ -115,11 +115,8 @@ namespace ICSharpCode.ILSpy
internal void SelectNode(SharpTreeNode obj)
{
if (obj != null) {
foreach (SharpTreeNode node in obj.Ancestors())
node.IsExpanded = true;
treeView.FocusNode(obj);
treeView.SelectedItem = obj;
treeView.ScrollIntoView(obj);
}
}

Loading…
Cancel
Save