We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d726c commit a592169Copy full SHA for a592169
ILSpy/AssemblyTree/AssemblyListPane.xaml.cs
@@ -71,7 +71,10 @@ protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
71
if (SelectedItem is SharpTreeNode selectedItem)
72
{
73
// defer focusing, so it does not interfere with selection via mouse click
74
- this.BeginInvoke(() => FocusNode(selectedItem));
+ this.BeginInvoke(() => {
75
+ if (this.SelectedItem == selectedItem)
76
+ FocusNode(selectedItem);
77
+ });
78
}
79
else
80
0 commit comments