mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:50:32 +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;
|
Form.Designer := nil;
|
||||||
if FMediator<>nil then
|
if FMediator<>nil then
|
||||||
FMediator.Designer:=nil;
|
FMediator.Designer:=nil;
|
||||||
if FreeComponent then
|
TheFormEditor.DeleteComponent(FLookupRoot,FreeComponent);
|
||||||
TheFormEditor.DeleteComponent(FLookupRoot,true);
|
|
||||||
FMediator:=nil;
|
FMediator:=nil;
|
||||||
end;
|
end;
|
||||||
Free;
|
Free;
|
||||||
|
Loading…
Reference in New Issue
Block a user