mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 07:29:25 +02:00
IDE: package links: fixed cleaning up duplicate ids for same lpk file
git-svn-id: branches/fixes_1_4@47665 -
This commit is contained in:
parent
5bc33bf3f1
commit
e80945cb2a
@ -631,7 +631,7 @@ begin
|
||||
debugln(['Warning: TPackageLinks.UpdateUserLinks two links for file: ',NewPkgLink.LPKFilename,' A=',OtherLink.IDAsString,' B=',NewPkgLink.IDAsString]);
|
||||
if OtherLink.LastUsed<NewPkgLink.LastUsed then begin
|
||||
debugln(['Warning: TPackageLinks.UpdateUserLinks removing older link ',OtherLink.IDAsString]);
|
||||
FUserLinksSortID.Delete(OtherNode);
|
||||
FUserLinksSortID.RemovePointer(OtherLink);
|
||||
FUserLinksSortFile.Delete(OtherNode);
|
||||
OtherLink.Release;
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user