1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00
This commit is contained in:
bsongis 2014-06-03 10:33:01 +02:00
parent 4a099a7161
commit 00d3d3e20b

View file

@ -4897,7 +4897,12 @@ void menuModelCustomFunctions(uint8_t event)
MENU_ADD_ITEM(STR_INSERT);
if (!CFN_EMPTY(sd))
MENU_ADD_ITEM(STR_CLEAR);
MENU_ADD_ITEM(STR_DELETE);
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