mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
Bug 302270: Selecting indexer.
This commit is contained in:
parent
6dc4eb037d
commit
8b864e98a5
1 changed files with 6 additions and 2 deletions
|
@ -333,8 +333,12 @@ public class IndexerBlock extends AbstractCOptionPage {
|
||||||
Arrays.sort(names, collator);
|
Arrays.sort(names, collator);
|
||||||
fIndexersComboBox.setItems(names);
|
fIndexersComboBox.setItems(names);
|
||||||
} else {
|
} else {
|
||||||
if (!fIndexerConfigMap.isEmpty()) {
|
fTheOneIndexerID= IPDOMManager.ID_NO_INDEXER;
|
||||||
fTheOneIndexerID= fIndexerConfigMap.keySet().iterator().next();
|
for (String id : fIndexerConfigMap.keySet()) {
|
||||||
|
if (!IPDOMManager.ID_NO_INDEXER.equals(id)) {
|
||||||
|
fTheOneIndexerID= id;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue