Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java
index 3ab58ad43ed..72ce285d998 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java
@@ -64,6 +64,9 @@ public class BuildGroup extends CViewActionGroup {
@Override
protected boolean updateSelection(IStructuredSelection s) {
+ // Call the super since it needs to clear out some settings
+ super.updateSelection(s);
+ // Always build CDT projects
return true;
}

Back to the top