IDE: putting inline component into form: fixed lookuproot of methods

git-svn-id: trunk@15699 -
This commit is contained in:
mattias 2008-07-07 20:43:13 +00:00
parent 9cf5b70a7d
commit bc8c1dea0f

View File

@ -1251,6 +1251,7 @@ begin
{ $ENDIF}
try
try
FCurReadJITComponent:=Component;
ReadInlineComponent(Component,TComponentClass(Component.ClassType),Component.Owner);
except
on E: Exception do begin
@ -1266,6 +1267,7 @@ begin
UnregisterFindGlobalComponentProc(@MyFindGlobalComponent);
Application.FindGlobalComponentEnabled:=true;
end;
FCurReadJITComponent:=nil;
FCurReadStreamClass:=nil;
end;