1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-18 22:45:23 +02:00

Bug 413080 - IllegalArgumentException in Indexer preference page

This commit is contained in:
Chris Recoskie 2013-08-22 14:17:38 -04:00
parent d8157b008a
commit 003cb67913

View file

@ -210,8 +210,11 @@ public class IndexerBlock extends AbstractCOptionPage {
if (fIndexerConfigMap.size() > 2) { if (fIndexerConfigMap.size() > 2) {
fIndexersComboBox = ControlFactory.createSelectCombo(group, "", ""); //$NON-NLS-1$ //$NON-NLS-2$ fIndexersComboBox = ControlFactory.createSelectCombo(group, "", ""); //$NON-NLS-1$ //$NON-NLS-2$
fIndexersComboBox.addSelectionListener(indexerChangeListener); fIndexersComboBox.addSelectionListener(indexerChangeListener);
if(getProject() != null) {
fReindexOnIndexerChange = ControlFactory.createCheckBox(group, CUIPlugin.getResourceString("IndexerBlock.redindexOnIndexerChange")); //$NON-NLS-1$ fReindexOnIndexerChange = ControlFactory.createCheckBox(group, CUIPlugin.getResourceString("IndexerBlock.redindexOnIndexerChange")); //$NON-NLS-1$
} }
}
// add composite for pages // add composite for pages
fIndexerPageComposite= ControlFactory.createComposite(group, 1); fIndexerPageComposite= ControlFactory.createComposite(group, 1);