1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 15:25:17 +03:00

Issue #764 fixed

This commit is contained in:
bsongis 2014-02-28 12:16:43 +01:00
parent c4bff418e3
commit f250d381e5
9 changed files with 36 additions and 27 deletions

View file

@ -599,7 +599,7 @@ void populateSourceCB(QComboBox *b, const RawSource & source, const ModelData &
if (item == source) b->setCurrentIndex(b->count()-1);
}
for (int i=0; i<NUM_PPM; i++) {
for (int i=0; i<NUM_PPM(GetEepromInterface()->getBoard()); i++) {
item = RawSource(SOURCE_TYPE_PPM, i);
b->addItem(item.toString(), item.toValue());
if (item == source) b->setCurrentIndex(b->count()-1);