diff options
author | Doug Schaefer | 2017-11-27 16:00:27 +0000 |
---|---|---|
committer | Doug Schaefer | 2017-11-27 16:02:07 +0000 |
commit | 68b441c16d6e30424177193daf048bd693deb20f (patch) | |
tree | 9b5a54a8b41217e61825032c36c31c898ef31e44 /core | |
parent | 3319c8596e69fd30084d44a1f364beae61c6768d (diff) | |
download | org.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
Diffstat (limited to 'core')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/BuildGroup.java | 3 |
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; } |