Designer: Alternative fix of closing a LAMW form in designer. Related to revision 61223 #298236df33 and 64283

git-svn-id: trunk@64284 -
This commit is contained in:
michl 2020-12-26 22:44:03 +00:00
parent d0d67fe1b4
commit 24567c321c

View File

@ -103,7 +103,7 @@ procedure TNonControlDesignerForm.SetBounds(aLeft, aTop, aWidth,
aHeight: integer);
begin
inherited SetBounds(ALeft, ATop, AWidth, AHeight);
if Mediator<>nil then
if (Mediator<>nil) and (LookupRoot<>nil) then
Mediator.SetFormBounds(LookupRoot,NonFormProxyDesignerForm.BoundsRect,NonFormProxyDesignerForm.ClientRect);
end;