Skip to main content
path: root/core
diff options
authorDoug Schaefer2017-11-23 19:41:10 +0000
committerDoug Schaefer2017-11-23 19:41:10 +0000
commit93a5fcaa2a769c12f6ff805cf3cc53b8ecfab3bc (patch)
tree867586d3128a5baf224e89faed4f71b713d4ef3f /core
parentd9b8eb3fd0061cb8ee70ee458f2ad00a953452ef (diff)
Bug 444054 - Always enable the build actions.
If you select a non-CDT project then select a CDT one, the Build Project menu item wouldn't enable. If you select the CDT project again, it does. Big question is why isn't it enabled when selected. This fix just enables it all the time. Much easier for users to understand. Change-Id: I674740f2c6998686cade1f910a269a4e9d935d39
Diffstat (limited to 'core')
1 files changed, 6 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/
index 3eeaae4c288..3ab58ad43ed 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/
@@ -61,6 +61,12 @@ public class BuildGroup extends CViewActionGroup {
public CDTBuildAction(IShellProvider shell, int kind) {
super(shell, kind);
+ @Override
+ protected boolean updateSelection(IStructuredSelection s) {
+ return true;
+ }
public void run() {
// Ensure we correctly save files in all referenced projects before build

Back to the top