mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 20:49:30 +02:00
IDE: unit dependencies: reduced updating tree while generating nodes
git-svn-id: trunk@15137 -
This commit is contained in:
parent
4997713fae
commit
35793c2673
@ -313,8 +313,13 @@ var
|
||||
begin
|
||||
UnitNode:=TUnitNode(Node.Data);
|
||||
if UnitNode.HasChildren then begin
|
||||
AllowExpansion:=true;
|
||||
UnitNode.CreateGrandChildren;
|
||||
UnitTreeView.BeginUpdate;
|
||||
try
|
||||
AllowExpansion:=true;
|
||||
UnitNode.CreateGrandChildren;
|
||||
finally
|
||||
UnitTreeView.EndUpdate;
|
||||
end;
|
||||
end else begin
|
||||
AllowExpansion:=false;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user