mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Bug fix
This commit is contained in:
parent
eeb3c25c4a
commit
beb1492c3e
1 changed files with 6 additions and 4 deletions
|
@ -45,7 +45,11 @@ public class WizardDefaultsTab extends AbstractCPropertyTab {
|
|||
show_mng = new Button(usercomp, SWT.CHECK);
|
||||
show_mng.setText(Messages.getString("WizardDefaultsTab.2")); //$NON-NLS-1$
|
||||
show_mng.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
|
||||
}
|
||||
|
||||
show_sup.setSelection(!CDTPrefUtil.getBool(CDTPrefUtil.KEY_UNSUPP));
|
||||
show_oth.setSelection(CDTPrefUtil.getBool(CDTPrefUtil.KEY_OTHERS));
|
||||
show_mng.setSelection(CDTPrefUtil.getBool(CDTPrefUtil.KEY_MANAGE));
|
||||
}
|
||||
|
||||
protected void performOK() {
|
||||
CDTPrefUtil.setBool(CDTPrefUtil.KEY_UNSUPP, !show_sup.getSelection());
|
||||
|
@ -62,9 +66,7 @@ public class WizardDefaultsTab extends AbstractCPropertyTab {
|
|||
}
|
||||
|
||||
protected void updateData(ICResourceDescription cfg) {
|
||||
show_sup.setSelection(!CDTPrefUtil.getBool(CDTPrefUtil.KEY_UNSUPP));
|
||||
show_oth.setSelection(CDTPrefUtil.getBool(CDTPrefUtil.KEY_OTHERS));
|
||||
show_mng.setSelection(CDTPrefUtil.getBool(CDTPrefUtil.KEY_MANAGE));
|
||||
// Do nothing. Data is read once after creation
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue