IDE: fixed rebuilding IDE when installing components, if the build node IDE was set make node none (issue #12195)

git-svn-id: trunk@16687 -
This commit is contained in:
vincents 2008-09-23 19:01:16 +00:00
parent 5e4ca3e5a5
commit 9402e3b34d

View File

@ -409,11 +409,18 @@ begin
if (CurItem<>Options.ItemIDE) then
CurMakeMode:=mmNone;
end;
if (CurItem=Options.ItemIDE)
and (blfWithoutCompilingIDE in Flags)
and (blfWithoutLinkingIDE in Flags)
then
CurMakeMode:=mmNone;
if (CurItem=Options.ItemIDE) then
begin
if (blfWithoutCompilingIDE in Flags) and (blfWithoutLinkingIDE in Flags)
then
CurMakeMode:=mmNone
// build the IDE when blfOnlyIDE is set, eg. when installing packages
// even if that build node is disabled in configure build lazarus dialog
else if (blfOnlyIDE in Flags) then
CurMakeMode := mmBuild;
end;
if CurMakeMode=mmNone then continue;