mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 20:38:16 +02:00
designer: fix TJITForms.IsJITForm
git-svn-id: trunk@51136 -
This commit is contained in:
parent
1220d1bec2
commit
00c6de89c7
@ -1895,7 +1895,7 @@ end;
|
||||
function TJITForms.IsJITForm(AComponent: TComponent): Boolean;
|
||||
begin
|
||||
Result:=(AComponent<>nil) and (AComponent is TCustomForm)
|
||||
and (TCustomForm(AComponent).Parent=nil) and (IndexOf(AComponent)>=0);
|
||||
and (IndexOf(AComponent)>=0);
|
||||
end;
|
||||
|
||||
function TJITForms.GetItem(Index: integer): TCustomForm;
|
||||
|
Loading…
Reference in New Issue
Block a user