mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 22:19:29 +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);
|
aHeight: integer);
|
||||||
begin
|
begin
|
||||||
inherited SetBounds(ALeft, ATop, AWidth, AHeight);
|
inherited SetBounds(ALeft, ATop, AWidth, AHeight);
|
||||||
if Mediator<>nil then
|
if (Mediator<>nil) and (LookupRoot<>nil) then
|
||||||
Mediator.SetFormBounds(LookupRoot,NonFormProxyDesignerForm.BoundsRect,NonFormProxyDesignerForm.ClientRect);
|
Mediator.SetFormBounds(LookupRoot,NonFormProxyDesignerForm.BoundsRect,NonFormProxyDesignerForm.ClientRect);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user