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
+1 -1
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);