anchordocking: clean up garbage in layout

git-svn-id: branches/fixes_1_6@50830 -
This commit is contained in:
mattias 2015-12-15 22:26:09 +00:00
parent 1c560f49e2
commit 426a7b20ff

View File

@ -1444,6 +1444,9 @@ begin
// layouts and pages with only one child
// => move grandchildren up and delete childnode
ReplaceWithChildren(ChildNode);
end else begin
// unknown, maybe crap from older versions
DeleteNode(ChildNode);
end;
i:=Min(i,Count)-1;