mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 23:19:29 +02:00
AnchorDocking: Prevent a crash when closing the IDE. Patch from Ondrej Pokorny.
git-svn-id: trunk@49757 -
This commit is contained in:
parent
6c11debd0c
commit
dabd4106ff
@ -4247,7 +4247,8 @@ end;
|
||||
procedure TAnchorDockHostSite.DoDock(NewDockSite: TWinControl; var ARect: TRect);
|
||||
begin
|
||||
inherited DoDock(NewDockSite, ARect);
|
||||
DockMaster.SimplifyPendingLayouts;
|
||||
if DockMaster <> nil then
|
||||
DockMaster.SimplifyPendingLayouts;
|
||||
end;
|
||||
|
||||
procedure TAnchorDockHostSite.SetParent(NewParent: TWinControl);
|
||||
|
Loading…
Reference in New Issue
Block a user