mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
The patch from Wieant to fix the bug# 112912
This commit is contained in:
parent
84a0ef841b
commit
298c624f99
1 changed files with 12 additions and 0 deletions
|
@ -127,4 +127,16 @@ public class BuildOptionComboFieldEditor extends FieldEditor {
|
||||||
// There is just the label from the parent and the combo
|
// There is just the label from the parent and the combo
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set whether or not the controls in the field editor
|
||||||
|
* are enabled.
|
||||||
|
* @param enabled The enabled state.
|
||||||
|
* @param parent The parent of the controls in the group.
|
||||||
|
* Used to create the controls if required.
|
||||||
|
*/
|
||||||
|
public void setEnabled(boolean enabled, Composite parent) {
|
||||||
|
getLabelControl(parent).setEnabled(enabled);
|
||||||
|
optionSelector.setEnabled(enabled);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue