Fixed: wrong section was selected in EndSection for X2UtPersistXML
This commit is contained in:
parent
f406555e55
commit
5c01377ea6
@ -192,8 +192,10 @@ begin
|
||||
|
||||
if SectionStack.Count > 0 then
|
||||
begin
|
||||
FSection := (SectionStack[Pred(SectionStack.Count)] as IXMLSection);
|
||||
SectionStack.Delete(Pred(SectionStack.Count));
|
||||
lastItem := Pred(SectionStack.Count);
|
||||
|
||||
FSection := (SectionStack[Pred(lastItem)] as IXMLSection);
|
||||
SectionStack.Delete(lastItem);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user