mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 10:19:23 +02:00
IDE: find unit dlg: do not show quickfix for adding package to itself
git-svn-id: trunk@47660 -
This commit is contained in:
parent
86b3c18810
commit
634d038ea2
@ -411,8 +411,9 @@ begin
|
||||
end else if MainOwner is TLazPackage then begin
|
||||
APackage:=TLazPackage(MainOwner);
|
||||
if CompareText(APackage.Name,PackageName)=0 then
|
||||
Result:=true;
|
||||
Result:=PackageGraph.FindDependencyRecursively(
|
||||
Result:=true
|
||||
else
|
||||
Result:=PackageGraph.FindDependencyRecursively(
|
||||
APackage.FirstRequiredDependency,PackageName)<>nil;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user