From f53e16b6a1515a331bbdbc70bf488aaa5c37307d Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 12 Jul 2024 11:11:15 +0800 Subject: [PATCH] ux: new node should not be selected --- src/Views/BranchTree.axaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Views/BranchTree.axaml.cs b/src/Views/BranchTree.axaml.cs index 7e6d6733..9136a2f7 100644 --- a/src/Views/BranchTree.axaml.cs +++ b/src/Views/BranchTree.axaml.cs @@ -350,6 +350,7 @@ namespace SourceGit.Views foreach (var node in nodes) { node.Depth = depth; + node.IsSelected = false; rows.Add(node); if (!node.IsExpanded || node.Backend is Models.Branch)