diff --git a/components/anchordocking/anchordockstorage.pas b/components/anchordocking/anchordockstorage.pas index 73f8f6bef8..63ad56bbb4 100644 --- a/components/anchordocking/anchordockstorage.pas +++ b/components/anchordocking/anchordockstorage.pas @@ -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;