* Result needs to be assigned when doing FindInFieldTable

This commit is contained in:
Michaël Van Canneyt 2025-04-10 10:32:44 +02:00
parent 4cae231a52
commit cc20d1fe06

View File

@ -1956,7 +1956,7 @@ begin
Result:=FindInFieldTable(Root);
if (Result=nil) and assigned(LookupRoot) and (LookupRoot<>Root) then
FindInFieldTable(LookupRoot);
Result:=FindInFieldTable(LookupRoot);
if (Result=nil) and assigned(OnFindComponentClassEx) then
OnFindComponentClassEx(Self, AName, anUnitName, AClassName, Result);