mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
fixed build command not updating
This commit is contained in:
parent
cad6860ec1
commit
a5b6d849f2
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public class MakeProjectNature implements IProjectNature {
|
|||
newCommands[0] = newCommand;
|
||||
} else {
|
||||
for (int i = 0, max = oldCommands.length; i < max; i++) {
|
||||
if (oldCommands[i] == oldCommand) {
|
||||
if (oldCommands[i].getBuilderName().equals(oldCommand.getBuilderName())) {
|
||||
oldCommands[i] = newCommand;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue