From 09c709f890ae1a108ad2a22249f60c5186f9855a Mon Sep 17 00:00:00 2001 From: juha Date: Tue, 21 Nov 2017 15:32:02 +0000 Subject: [PATCH] Packager: Set variables PkgLinks and LazPackageLinks together. git-svn-id: trunk@56461 - --- packager/packagelinks.pas | 1 - packager/pkgmanager.pas | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packager/packagelinks.pas b/packager/packagelinks.pas index fbdf80c5aa..6320358e77 100644 --- a/packager/packagelinks.pas +++ b/packager/packagelinks.pas @@ -335,7 +335,6 @@ end; constructor TLazPackageLinks.Create; begin - PkgLinks:=Self; UserLinkLoadTimeValid:=false; FGlobalLinks:=TAvlTree.Create(@ComparePackageLinks); FOnlineLinks:=TAvlTree.Create(@ComparePackageLinks); diff --git a/packager/pkgmanager.pas b/packager/pkgmanager.pas index 8734d878cc..68722ecb77 100644 --- a/packager/pkgmanager.pas +++ b/packager/pkgmanager.pas @@ -2919,6 +2919,7 @@ begin // package links LazPackageLinks:=TLazPackageLinks.Create; + PkgLinks:=LazPackageLinks; LazPackageLinks.UpdateAll; // package graph