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
|
if SectionStack.Count > 0 then
|
||||||
begin
|
begin
|
||||||
FSection := (SectionStack[Pred(SectionStack.Count)] as IXMLSection);
|
lastItem := Pred(SectionStack.Count);
|
||||||
SectionStack.Delete(Pred(SectionStack.Count));
|
|
||||||
|
FSection := (SectionStack[Pred(lastItem)] as IXMLSection);
|
||||||
|
SectionStack.Delete(lastItem);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user