mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:29:30 +02:00
codetools: fixed wrong tool context in FindClassNodeForLFMObject
git-svn-id: trunk@13598 -
This commit is contained in:
parent
0c7e0c2a9b
commit
a7dbaa80d2
@ -1750,7 +1750,7 @@ var
|
||||
Params.SetIdentifier(StartTool,Identifier,nil);
|
||||
try
|
||||
Params.Save(OldInput);
|
||||
if FindIdentifierInContext(Params) then begin
|
||||
if StartTool.FindIdentifierInContext(Params) then begin
|
||||
Params.Load(OldInput,true);
|
||||
Result:=Params.NewCodeTool.FindBaseTypeOfNode(Params,Params.NewNode);
|
||||
if (Result.Node=nil) or (Result.Node.Desc<>ctnClass) then
|
||||
|
Loading…
Reference in New Issue
Block a user