mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug fix: NPE in Prefs pages
This commit is contained in:
parent
a536e926d5
commit
2e43da21fa
1 changed files with 4 additions and 2 deletions
|
@ -548,8 +548,10 @@ implements
|
|||
displayedConfig = true;
|
||||
if (excludeFromBuildCheck != null && resd != null)
|
||||
excludeFromBuildCheck.setSelection(resd.isExcluded());
|
||||
configSelector.select(cfgIndex);
|
||||
handleConfigSelection();
|
||||
if (configSelector != null) {
|
||||
configSelector.select(cfgIndex == -1 ? 0 : cfgIndex);
|
||||
handleConfigSelection();
|
||||
}
|
||||
}
|
||||
|
||||
if (itabs.size() < 1) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue