Merge branch 'Packager/PkgEd/DependMovingModify' into 'main'

Packager/PackageEditor: Mark package modified when moving dependencies

See merge request freepascal.org/lazarus/lazarus!415
This commit is contained in:
Mattias Gaertner 2025-01-01 22:53:27 +00:00
commit 9e43c7bf9d

View File

@ -3285,6 +3285,7 @@ begin
OldIndex:=RequiredBranch.Items.IndexOf(Dependency.AsString(False,True)+OPNote(Dependency));
NewIndex:=OldIndex+Offset;
RequiredBranch.Move(OldIndex,NewIndex);
LazPackage.Modified:=true;
UpdatePEProperties;
UpdateStatusBar;
end;