diff --git a/src/Views/ChangeCollectionView.axaml.cs b/src/Views/ChangeCollectionView.axaml.cs index beb5e60b..10283caa 100644 --- a/src/Views/ChangeCollectionView.axaml.cs +++ b/src/Views/ChangeCollectionView.axaml.cs @@ -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; } }