[Taranis] Pots type added to the Companion UI

This commit is contained in:
Bertrand Songis
2014-01-31 21:49:38 +01:00
parent 8ef1456fe9
commit 2d884d413a
4 changed files with 117 additions and 3 deletions
+2 -1
View File
@@ -1097,7 +1097,8 @@ void populateSourceCB(QComboBox *b, const RawSource & source, const ModelData &
b->addItem(item.toString(), item.toValue());
if (item == source) b->setCurrentIndex(b->count()-1);
}
} else if (flags & POPULATE_TELEMETRY) {
}
else if (flags & POPULATE_TELEMETRY) {
for (int i=0; i<TELEMETRY_SOURCES_COUNT; i++) {
item = RawSource(SOURCE_TYPE_TELEMETRY, i);
b->addItem(item.toString(), item.toValue());