From f6efd4fc4affcae3e188ff7bd38edf09febd14f1 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 21 Nov 2015 13:23:32 +0000 Subject: [PATCH] project groups: fixed compiling project with only one build mode git-svn-id: trunk@50464 - --- components/projectgroups/projectgroup.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/projectgroups/projectgroup.pp b/components/projectgroups/projectgroup.pp index e37a58d72e..6f4ef3101d 100644 --- a/components/projectgroups/projectgroup.pp +++ b/components/projectgroups/projectgroup.pp @@ -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