Fix
This commit is contained in:
@@ -268,8 +268,8 @@ void menuModelLogicalSwitches(event_t event)
|
|||||||
POPUP_MENU_ADD_ITEM(STR_PASTE);
|
POPUP_MENU_ADD_ITEM(STR_PASTE);
|
||||||
if (cs->func || cs->v1 || cs->v2 || cs->delay || cs->duration || cs->andsw)
|
if (cs->func || cs->v1 || cs->v2 || cs->delay || cs->duration || cs->andsw)
|
||||||
POPUP_MENU_ADD_ITEM(STR_CLEAR);
|
POPUP_MENU_ADD_ITEM(STR_CLEAR);
|
||||||
if(popupMenuNoItems == 1) {
|
if(popupMenuItemsCount == 1) {
|
||||||
popupMenuNoItems = 0;
|
popupMenuItemsCount = 0;
|
||||||
s_currIdx = sub;
|
s_currIdx = sub;
|
||||||
pushMenu(menuModelLogicalSwitchOne);
|
pushMenu(menuModelLogicalSwitchOne);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user