Opkman: Fixing issues caused by the TPackageType/TLazPackageType switch. Also fixed packagelist.json in the main repository.

git-svn-id: trunk@56464 -
This commit is contained in:
balazs 2017-11-22 06:17:05 +00:00
parent 32ac63532a
commit 9e0016b0cf
2 changed files with 3 additions and 3 deletions

View File

@ -1210,9 +1210,9 @@ begin
cbPackageType.Clear;
cbPackageType.Items.Add('');
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType0);
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType1);
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType2);
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType1);
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType0);
cbPackageType.Items.Add(rsMainFrm_VSTText_PackageType3);
cbPackageState.Clear;

View File

@ -875,7 +875,7 @@ begin
LazarusPkg.LazCompatibility := LazarusPkgsObj.Get('LazCompatibility');
LazarusPkg.FPCCompatibility := LazarusPkgsObj.Get('FPCCompatibility');
LazarusPkg.SupportedWidgetSet := LazarusPkgsObj.Get('SupportedWidgetSet');
LazarusPkg.PackageType := TLazPackageType(LazarusPkgsObj.Get('PackageType')); // JuMa: Typecast was changed, may break things.
LazarusPkg.PackageType := TLazPackageType(LazarusPkgsObj.Get('PackageType'));
LazarusPkg.DependenciesAsString := LazarusPkgsObj.Get('DependenciesAsString');
end;
end;