update the list of branches more lazily

This commit is contained in:
Basile Burg 2020-07-10 10:09:08 +02:00
parent 7f203dd439
commit 20ed08e194
1 changed files with 1 additions and 2 deletions

View File

@ -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;