Use static table to determine the existence of channel mapping option

This commit is contained in:
Raphael Coeffic
2021-07-19 13:18:13 +02:00
parent 36bddfb8d2
commit 8266948e09
2 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -793,7 +793,7 @@ class ModuleWindow : public FormGroup {
GET_SET_DEFAULT(
g_model.moduleData[moduleIdx].multi.disableTelemetry));
if (MULTI_DISABLE_CHAN_MAP_ROW(moduleIdx) != HIDDEN_ROW) {
if (MULTI_DISABLE_CHAN_MAP_ROW_STATIC(moduleIdx) != HIDDEN_ROW) {
// Disable channel mapping
grid.nextLine();
new StaticText(this, grid.getLabelSlot(true), STR_DISABLE_CH_MAP);