mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:59:12 +02:00
IDE: Hide TNonFormProxyDesignerForm when component is removed - fixed showing of frames at project closing when a docked form editor is used
git-svn-id: trunk@64416 -
This commit is contained in:
parent
f23ec8bbc2
commit
58cda60754
@ -620,6 +620,8 @@ Begin
|
||||
|
||||
if (AForm <> nil) then
|
||||
begin
|
||||
AForm.ControlStyle:=AForm.ControlStyle+[csNoDesignVisible];
|
||||
LCLIntf.ShowWindow(AForm.Handle,SW_HIDE);
|
||||
FNonFormForms.Remove(AForm);
|
||||
(AForm as INonFormDesigner).LookupRoot := nil;
|
||||
Application.ReleaseComponent(AForm);
|
||||
|
Loading…
Reference in New Issue
Block a user