mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Fixes #1167
This commit is contained in:
parent
4a099a7161
commit
00d3d3e20b
1 changed files with 6 additions and 1 deletions
|
@ -4897,7 +4897,12 @@ void menuModelCustomFunctions(uint8_t event)
|
|||
MENU_ADD_ITEM(STR_INSERT);
|
||||
if (!CFN_EMPTY(sd))
|
||||
MENU_ADD_ITEM(STR_CLEAR);
|
||||
for (int i=sub+1; i<NUM_CFN; i++) {
|
||||
if (!CFN_EMPTY(&g_model.funcSw[i])) {
|
||||
MENU_ADD_ITEM(STR_DELETE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
menuHandler = onCustomFunctionsMenu;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue