IDE: do not restart if IDE built for nogui

git-svn-id: trunk@28241 -
This commit is contained in:
mattias 2010-11-15 09:53:16 +00:00
parent 3f070ffe87
commit 44be1b16a2

View File

@ -1884,7 +1884,8 @@ begin
end;
//debugln(['TBuildManager.BuildTargetIDEIsDefault NewTargetOS=',NewTargetOS,' Default=',GetDefaultTargetOS,' NewTargetCPU=',NewTargetCPU,' default=',GetDefaultTargetCPU,' ws=',LCLPlatformDisplayNames[NewLCLWidgetSet],' default=',LCLPlatformDisplayNames[GetDefaultLCLWidgetType]]);
Result:=BuildIDE and ((NewTargetOS='') or (NewTargetOS=GetDefaultTargetOS))
and ((NewTargetCPU='') or (NewTargetCPU=GetDefaultTargetCPU));
and ((NewTargetCPU='') or (NewTargetCPU=GetDefaultTargetCPU))
and (NewLCLWidgetSet<>lpNoGUI);
end;
end.