From fd5ec5ee46585d99e7172706a0e47129976ae966 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 13 Jul 2024 09:51:57 +0800 Subject: [PATCH] ux: toggle change tree node should trigger rows selection changed event --- src/Views/ChangeCollectionView.axaml.cs | 3 --- 1 file changed, 3 deletions(-) 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; } }