project groups: fixed compiling project with only one build mode

git-svn-id: trunk@50464 -
This commit is contained in:
mattias 2015-11-21 13:23:32 +00:00
parent 78953ccba9
commit f6efd4fc4a

View File

@ -193,7 +193,7 @@ var
OnShowProjectGroupEditorEvent: TEditProjectGroupEvent; // method variant
IDEProjectGroupManager: TIDEProjectGroupManager;
// Project group editor(s). Should probably move to MenuIntf
ProjectGroupMenuRoot: TIDEMenuSection = nil;
PGEditMenuSectionFiles, // e.g. sort files, clean up files
PGEditMenuSectionAddRemove, // e.g. add unit, add dependency
@ -1394,7 +1394,7 @@ begin
LazarusIDE.ToolStatus:=itBuilder;
try
if BuildModeCount>0 then begin
if BuildModeCount>1 then begin
IDEMessagesWindow.Clear;
i:=0;
if StartBuildMode<>'' then begin