AnchorDocking: Prevent a crash when closing the IDE. Patch from Ondrej Pokorny.

git-svn-id: trunk@49757 -
This commit is contained in:
juha 2015-09-04 18:48:50 +00:00
parent 6c11debd0c
commit dabd4106ff

View File

@ -4247,6 +4247,7 @@ end;
procedure TAnchorDockHostSite.DoDock(NewDockSite: TWinControl; var ARect: TRect); procedure TAnchorDockHostSite.DoDock(NewDockSite: TWinControl; var ARect: TRect);
begin begin
inherited DoDock(NewDockSite, ARect); inherited DoDock(NewDockSite, ARect);
if DockMaster <> nil then
DockMaster.SimplifyPendingLayouts; DockMaster.SimplifyPendingLayouts;
end; end;