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,9 +548,11 @@ implements
displayedConfig = true; displayedConfig = true;
if (excludeFromBuildCheck != null && resd != null) if (excludeFromBuildCheck != null && resd != null)
excludeFromBuildCheck.setSelection(resd.isExcluded()); excludeFromBuildCheck.setSelection(resd.isExcluded());
configSelector.select(cfgIndex); if (configSelector != null) {
configSelector.select(cfgIndex == -1 ? 0 : cfgIndex);
handleConfigSelection(); handleConfigSelection();
} }
}
if (itabs.size() < 1) return; if (itabs.size() < 1) return;