LPI: save RunParams from active mode only in CompatibilityMode (it is not used in recent Lazarus versions and only causes dummy changes in the LPI file - the current mode is stored within the LPS)

git-svn-id: trunk@64818 -
This commit is contained in:
ondrej 2021-03-15 11:12:03 +00:00
parent 1ceca464e8
commit aefd991f45

View File

@ -3344,7 +3344,8 @@ begin
// save the Publish Options
PublishOptions.SaveToXMLConfig(FXMLConfig,Path+'PublishOptions/',fCurStorePathDelim);
// save the Run and Build parameter options
RunParameterOptions.LegacySave(FXMLConfig,Path,fCurStorePathDelim);
if pfCompatibilityMode in Flags then
RunParameterOptions.LegacySave(FXMLConfig,Path,fCurStorePathDelim);
RunParameterOptions.Save(FXMLConfig,Path+'RunParams/',fCurStorePathDelim,rpsLPI, UseLegacyLists);
// save dependencies
SavePkgDependencyList(FXMLConfig,Path+'RequiredPackages/',