mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Fix to address PR 29565 from the JDT from whome we copied bad
UI behaviour.
This commit is contained in:
parent
2cb1edc4a8
commit
388f2460b6
1 changed files with 12 additions and 12 deletions
|
@ -79,6 +79,17 @@ public class WorkingDirectoryBlock extends AbstractLaunchConfigurationTab {
|
|||
gd = new GridData();
|
||||
gd.horizontalSpan = 3;
|
||||
fWorkingDirLabel.setLayoutData(gd);
|
||||
|
||||
fUseDefaultWorkingDirButton = new Button(workingDirComp,SWT.CHECK);
|
||||
fUseDefaultWorkingDirButton.setText("Use de&fault working directory");
|
||||
gd = new GridData();
|
||||
gd.horizontalSpan = 3;
|
||||
fUseDefaultWorkingDirButton.setLayoutData(gd);
|
||||
fUseDefaultWorkingDirButton.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent evt) {
|
||||
handleUseDefaultWorkingDirButtonSelected();
|
||||
}
|
||||
});
|
||||
|
||||
fLocalDirButton = createRadioButton(workingDirComp, "&Local directory");
|
||||
fLocalDirButton.addSelectionListener(new SelectionAdapter() {
|
||||
|
@ -125,18 +136,7 @@ public class WorkingDirectoryBlock extends AbstractLaunchConfigurationTab {
|
|||
handleWorkspaceDirBrowseButtonSelected();
|
||||
}
|
||||
});
|
||||
|
||||
fUseDefaultWorkingDirButton = new Button(workingDirComp,SWT.CHECK);
|
||||
fUseDefaultWorkingDirButton.setText("Use de&fault working directory");
|
||||
gd = new GridData();
|
||||
gd.horizontalSpan = 3;
|
||||
fUseDefaultWorkingDirButton.setLayoutData(gd);
|
||||
fUseDefaultWorkingDirButton.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent evt) {
|
||||
handleUseDefaultWorkingDirButtonSelected();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue