mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 17:20:29 +02:00
IDE: do not restart if IDE built for nogui
git-svn-id: trunk@28241 -
This commit is contained in:
parent
3f070ffe87
commit
44be1b16a2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user