mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug #190057 : Changing configuration...
This commit is contained in:
parent
b70999dc02
commit
0d076f6be7
1 changed files with 5 additions and 2 deletions
|
@ -508,6 +508,9 @@ implements
|
||||||
cfgDescs = CDTPropertyManager.getProjectDescription(this, getProject()).getConfigurations();
|
cfgDescs = CDTPropertyManager.getProjectDescription(this, getProject()).getConfigurations();
|
||||||
if (cfgDescs == null || cfgDescs.length == 0) return;
|
if (cfgDescs == null || cfgDescs.length == 0) return;
|
||||||
Arrays.sort(cfgDescs, CDTListComparator.getInstance());
|
Arrays.sort(cfgDescs, CDTListComparator.getInstance());
|
||||||
|
} else {
|
||||||
|
// just register in CDTPropertyManager;
|
||||||
|
CDTPropertyManager.getProjectDescription(this, getProject());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear and replace the contents of the selector widget
|
// Clear and replace the contents of the selector widget
|
||||||
|
@ -685,8 +688,8 @@ implements
|
||||||
excludeFromBuildCheck.setEnabled(resd.canExclude(!resd.isExcluded()));
|
excludeFromBuildCheck.setEnabled(resd.canExclude(!resd.isExcluded()));
|
||||||
excludeFromBuildCheck.setSelection(resd.isExcluded());
|
excludeFromBuildCheck.setSelection(resd.isExcluded());
|
||||||
}
|
}
|
||||||
|
int x = CDTPropertyManager.getPagesCount();
|
||||||
for (int i=0; i<CDTPropertyManager.getPagesCount(); i++) {
|
for (int i=0; i<x; i++) {
|
||||||
Object p = CDTPropertyManager.getPage(i);
|
Object p = CDTPropertyManager.getPage(i);
|
||||||
if (p == null || !(p instanceof AbstractPage))
|
if (p == null || !(p instanceof AbstractPage))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue