From aefd991f45236addf8617deb0a3028b83c6fcd4d Mon Sep 17 00:00:00 2001 From: ondrej Date: Mon, 15 Mar 2021 11:12:03 +0000 Subject: [PATCH] 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 - --- ide/project.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/project.pp b/ide/project.pp index 4c27b393ff..5dadc9b07a 100644 --- a/ide/project.pp +++ b/ide/project.pp @@ -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/',