mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 16:10:14 +02:00
IDE: when hiding an used designer component: free/hide the form
git-svn-id: trunk@22341 -
This commit is contained in:
parent
c12d17af61
commit
58cb88ebb3
@ -533,8 +533,7 @@ begin
|
||||
Form.Designer := nil;
|
||||
if FMediator<>nil then
|
||||
FMediator.Designer:=nil;
|
||||
if FreeComponent then
|
||||
TheFormEditor.DeleteComponent(FLookupRoot,true);
|
||||
TheFormEditor.DeleteComponent(FLookupRoot,FreeComponent);
|
||||
FMediator:=nil;
|
||||
end;
|
||||
Free;
|
||||
|
Loading…
Reference in New Issue
Block a user