Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2017-11-27 11:00:27 -0500
committerDoug Schaefer2017-11-27 11:02:07 -0500
commit68b441c16d6e30424177193daf048bd693deb20f (patch)
tree9b5a54a8b41217e61825032c36c31c898ef31e44
parent3319c8596e69fd30084d44a1f364beae61c6768d (diff)
downloadorg.eclipse.cdt-68b441c16d6e30424177193daf048bd693deb20f.tar.gz
org.eclipse.cdt-68b441c16d6e30424177193daf048bd693deb20f.tar.xz
org.eclipse.cdt-68b441c16d6e30424177193daf048bd693deb20f.zip
Bug 444054 - Make sure we build the right project
The call to CDTBuildAction's super updateSelection method clears out some state. Make sure we call it even though we want to always build CDT projects. Change-Id: Ie5dc1f583bbcc04d85b7254a4b7c18ee50f02997
-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 3ab58ad43e..72ce285d99 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