IDE: designer: writing nested inherited components

git-svn-id: trunk@15244 -
This commit is contained in:
mattias 2008-05-26 16:40:21 +00:00
parent 6a7677946e
commit 1352a93e6e

View File

@ -1767,8 +1767,10 @@ begin
// Component is a nested, inline component
// the stream ancestor is the component of the class
end;
if (AnUnitInfo<>nil) and (AnUnitInfo.Component<>nil) then
if (AnUnitInfo<>nil) and (AnUnitInfo.Component<>nil) then begin
Ancestor:=AnUnitInfo.Component;
RootAncestor:=AnUnitInfo.Component;
end;
DebugLn(['TCustomFormEditor.WriterFindAncestor Component=',DbgSName(Component),' Ancestor=',DbgSName(Ancestor)]);
end;
end;