From 20ed08e194ca560512c44b6f0944fb4bda9dc572 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 10 Jul 2020 10:09:08 +0200 Subject: [PATCH] update the list of branches more lazily --- src/u_main.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/u_main.pas b/src/u_main.pas index d457e85c..db1974f0 100644 --- a/src/u_main.pas +++ b/src/u_main.pas @@ -2470,7 +2470,7 @@ begin else if project = fFreeProj then fFreeProj := nil; - if assigned(fProj) then + if assigned(fProj) and mnuGitBranch.Count.equals(0) then actProjGitBranchesUpdExecute(nil); showProjTitle; @@ -4120,7 +4120,6 @@ begin fMsgs.message(r[i], fProj, amcProj, amkAuto); end; finally; - actProjGitBranchesUpd.Execute; p.Free; r.Free; end;