Packager: Fix "New requirement" dialog crashing at closing when no package is selected. Issue #41278

This commit is contained in:
wp_xyz 2024-12-15 18:16:59 +01:00
parent 7f6df323df
commit bc56d9b8cc

View File

@ -325,7 +325,7 @@ end;
procedure TAddPkgDependencyDialog.OKButtonClick(Sender: TObject);
var
NewDependency: TPkgDependency;
NewDependency: TPkgDependency = nil;
MinVerTest, MaxVerTest: TPkgVersion;
MinMaxVerFlags: TPkgDependencyFlags;
i: Integer;