mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
ux: toggle change tree node should trigger rows selection changed event
This commit is contained in:
parent
6206c6abbc
commit
fd5ec5ee46
1 changed files with 0 additions and 3 deletions
|
@ -242,7 +242,6 @@ namespace SourceGit.Views
|
||||||
{
|
{
|
||||||
if (_displayContext is ChangeCollectionAsTree tree)
|
if (_displayContext is ChangeCollectionAsTree tree)
|
||||||
{
|
{
|
||||||
_disableSelectionChangingEvent = true;
|
|
||||||
node.IsExpanded = !node.IsExpanded;
|
node.IsExpanded = !node.IsExpanded;
|
||||||
|
|
||||||
var depth = node.Depth;
|
var depth = node.Depth;
|
||||||
|
@ -269,8 +268,6 @@ namespace SourceGit.Views
|
||||||
}
|
}
|
||||||
tree.Rows.RemoveRange(idx + 1, removeCount);
|
tree.Rows.RemoveRange(idx + 1, removeCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
_disableSelectionChangingEvent = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue