mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 01:57:16 +01:00
LCL: TLRSObjectWriter.BeginComponent write block if childpos changed
git-svn-id: trunk@22488 -
This commit is contained in:
parent
4346679737
commit
ab654bf730
@ -4434,7 +4434,8 @@ begin
|
||||
//DebugLn(['TLRSObjectWriter.BeginComponent ',FStackPointer]);
|
||||
// an inherited child component can be omitted if empty
|
||||
CanBeOmitted:=(not WriteEmptyInheritedChilds)
|
||||
and (FStackPointer>0) and (ffInherited in Flags);
|
||||
and (FStackPointer>0) and (ffInherited in Flags)
|
||||
and (not (ffChildPos in Flags));
|
||||
// a component has two lists: properties and childs
|
||||
Push(Component.Name,Component,2,CanBeOmitted);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user