ux: toggle change tree node should trigger rows selection changed event

This commit is contained in:
leo 2024-07-13 09:51:57 +08:00
parent 6206c6abbc
commit fd5ec5ee46
No known key found for this signature in database

View file

@ -242,7 +242,6 @@ namespace SourceGit.Views
{
if (_displayContext is ChangeCollectionAsTree tree)
{
_disableSelectionChangingEvent = true;
node.IsExpanded = !node.IsExpanded;
var depth = node.Depth;
@ -269,8 +268,6 @@ namespace SourceGit.Views
}
tree.Rows.RemoveRange(idx + 1, removeCount);
}
_disableSelectionChangingEvent = false;
}
}