mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
fixed 69719
This commit is contained in:
parent
aa6bac0467
commit
967d6f8b78
1 changed files with 11 additions and 11 deletions
|
@ -263,17 +263,6 @@ public class MakeTargetDialog extends Dialog {
|
||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (buildCommand != null) {
|
|
||||||
StringBuffer cmd = new StringBuffer(buildCommand.toOSString());
|
|
||||||
if (!isDefaultCommand) {
|
|
||||||
String args = buildArguments;
|
|
||||||
if (args != null && !args.equals("")) { //$NON-NLS-1$
|
|
||||||
cmd.append(" "); //$NON-NLS-1$
|
|
||||||
cmd.append(args);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
commandText.setText(cmd.toString());
|
|
||||||
}
|
|
||||||
if (isDefaultCommand) {
|
if (isDefaultCommand) {
|
||||||
commandText.setEnabled(false);
|
commandText.setEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
|
@ -322,6 +311,17 @@ public class MakeTargetDialog extends Dialog {
|
||||||
targetNameText.setText(generateUniqueName(targetString));
|
targetNameText.setText(generateUniqueName(targetString));
|
||||||
}
|
}
|
||||||
targetNameText.selectAll();
|
targetNameText.selectAll();
|
||||||
|
if (buildCommand != null) {
|
||||||
|
StringBuffer cmd = new StringBuffer(buildCommand.toOSString());
|
||||||
|
if (!isDefaultCommand) {
|
||||||
|
String args = buildArguments;
|
||||||
|
if (args != null && !args.equals("")) { //$NON-NLS-1$
|
||||||
|
cmd.append(" "); //$NON-NLS-1$
|
||||||
|
cmd.append(args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
commandText.setText(cmd.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void updateButtons() {
|
protected void updateButtons() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue