mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +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();
|
||||
}
|
||||
});
|
||||
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) {
|
||||
commandText.setEnabled(false);
|
||||
} else {
|
||||
|
@ -322,6 +311,17 @@ public class MakeTargetDialog extends Dialog {
|
|||
targetNameText.setText(generateUniqueName(targetString));
|
||||
}
|
||||
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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue