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:
michl 2021-01-23 21:30:51 +00:00
parent f23ec8bbc2
commit 58cda60754

View File

@ -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);