IDE: TProject.LoadFromSession is never called with prfLoadParts flag, remove test.

git-svn-id: trunk@45631 -
This commit is contained in:
juha 2014-06-23 18:50:00 +00:00
parent 40a84ea443
commit bbbdc686ac

View File

@ -2916,8 +2916,7 @@ begin
FFileVersion:=FXMLConfig.GetValue(Path+'Version/Value',0);
// load MacroValues and compiler options
if FReadFlags <> [prfLoadParts] then // Test for: prfLoadParts, no prfLoadPartBuildModes
BuildModes.LoadSessionFromXMLConfig(FXMLConfig, Path, prfLoadParts in FReadFlags);
BuildModes.LoadSessionFromXMLConfig(FXMLConfig, Path, prfLoadParts in FReadFlags);
// load custom defines
LoadCustomDefines(Path);