mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
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
This commit is contained in:
parent
d9b8eb3fd0
commit
93a5fcaa2a
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
// Ensure we correctly save files in all referenced projects before build
|
||||
|
|
Loading…
Add table
Reference in a new issue