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

(cherry picked from commit bc56d9b8cc)
This commit is contained in:
wp_xyz 2024-12-15 18:16:59 +01:00
parent f6dfdd1cdf
commit b417395c89

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;