mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 09:00:38 +02:00
parent
02a45e2d4d
commit
a80a9f0aed
@ -2264,7 +2264,8 @@ var
|
||||
// create tree nodes for child code nodes
|
||||
RecursiveAdd(CurNode.ChildNodes);
|
||||
// do not expand unit nodes
|
||||
if TObject(ParentViewNode.Data) is TCodeBrowserUnit then
|
||||
if (ParentViewNode<>nil)
|
||||
and (TObject(ParentViewNode.Data) is TCodeBrowserUnit) then
|
||||
ExpandParent:=false;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user