mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 07:21:34 +02:00
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:
parent
d0d67fe1b4
commit
24567c321c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user