1
0
Fork 0
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:
Oleg Krasilnikov 2007-06-05 08:13:40 +00:00
parent a536e926d5
commit 2e43da21fa

View file

@ -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;