committed by
Peter Feerick
parent
e6dc23b77f
commit
00630277a8
@@ -333,6 +333,13 @@ void ModuleWindow::updateModule()
|
|||||||
new pxx2::ModuleOptions(Layer::back(), moduleIdx);
|
new pxx2::ModuleOptions(Layer::back(), moduleIdx);
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Model index
|
||||||
|
line = newLine(&grid);
|
||||||
|
new StaticText(line, rect_t{}, STR_RECEIVER_NUM, 0, COLOR_THEME_PRIMARY1);
|
||||||
|
auto modelId = &g_model.header.modelId[moduleIdx];
|
||||||
|
new NumberEdit(line, rect_t{}, 0, getMaxRxNum(moduleIdx),
|
||||||
|
GET_SET_DEFAULT(*modelId));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user