ux: new node should not be selected

This commit is contained in:
leo 2024-07-12 11:11:15 +08:00
parent 3c770e2525
commit f53e16b6a1
No known key found for this signature in database

View file

@ -350,6 +350,7 @@ namespace SourceGit.Views
foreach (var node in nodes) foreach (var node in nodes)
{ {
node.Depth = depth; node.Depth = depth;
node.IsSelected = false;
rows.Add(node); rows.Add(node);
if (!node.IsExpanded || node.Backend is Models.Branch) if (!node.IsExpanded || node.Backend is Models.Branch)