mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 03:40:28 +02:00
lcl: LDockTree: remove anchors when we remove control from the tree
git-svn-id: trunk@20094 -
This commit is contained in:
parent
071f4c60e7
commit
05c0578025
@ -1367,6 +1367,7 @@ begin
|
||||
begin
|
||||
ParentZone := RemoveZone.Parent as TLazDockZone;
|
||||
RemoveZone.FreeSubComponents;
|
||||
BreakAnchors(RemoveZone);
|
||||
if ParentZone <> nil then
|
||||
ParentZone.Remove(RemoveZone);
|
||||
RemoveZone.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user