mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 23:05:12 +03:00
[Taranis] Pots type added to the Companion UI
This commit is contained in:
parent
8ef1456fe9
commit
2d884d413a
4 changed files with 117 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue