IDE: mode matrix: fixed saving enabled state of IDE options

git-svn-id: trunk@41535 -
This commit is contained in:
mattias 2013-06-04 08:29:22 +00:00
parent 5202acb49b
commit b9f92c2008

View File

@ -2422,7 +2422,7 @@ end;
function TBuildManager.EnvironmentOptionsIsGlobalMode(const Identifier: string function TBuildManager.EnvironmentOptionsIsGlobalMode(const Identifier: string
): boolean; ): boolean;
begin begin
Result:=false; Result:=true;
if Project1=nil then exit; if Project1=nil then exit;
if Project1.BuildModes=nil then exit; if Project1.BuildModes=nil then exit;
// do not save enabled states of session modes // do not save enabled states of session modes