mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 09:55:29 +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);
|
||||
fIndexersComboBox.setItems(names);
|
||||
} else {
|
||||
if (!fIndexerConfigMap.isEmpty()) {
|
||||
fTheOneIndexerID= fIndexerConfigMap.keySet().iterator().next();
|
||||
fTheOneIndexerID= IPDOMManager.ID_NO_INDEXER;
|
||||
for (String id : fIndexerConfigMap.keySet()) {
|
||||
if (!IPDOMManager.ID_NO_INDEXER.equals(id)) {
|
||||
fTheOneIndexerID= id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue