mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 00:19:19 +02:00
LCL: anchordocking: fixed freeing TLazDockForm on undock
git-svn-id: trunk@14075 -
This commit is contained in:
parent
11e7b203ca
commit
28d926e861
@ -1670,7 +1670,9 @@ begin
|
||||
DebugLn('TCustomAnchoredDockManager.DeleteDockForm ADockForm=',DbgSName(ADockForm));
|
||||
if ADockForm.Parent<>nil then
|
||||
UndockControl(ADockForm,false);
|
||||
ADockForm.Free;
|
||||
ADockForm.DockManager:=nil;
|
||||
ADockForm.UseDockManager:=false;
|
||||
Application.ReleaseComponent(ADockForm);
|
||||
end;
|
||||
|
||||
function TCustomAnchoredDockManager.GetAnchorDepth(AControl: TControl;
|
||||
|
Loading…
Reference in New Issue
Block a user