mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Fix 7641 (#7642)
This commit is contained in:
parent
3504a4bb40
commit
e3c97723cd
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ void menuModelLogicalSwitches(event_t event)
|
||||||
LogicalSwitchData * cs = lswAddress(sub);
|
LogicalSwitchData * cs = lswAddress(sub);
|
||||||
if (cs->func)
|
if (cs->func)
|
||||||
s_currIdx = sub;
|
s_currIdx = sub;
|
||||||
POPUP_MENU_ADD_ITEM(STR_EDIT);
|
if (sub >=0) POPUP_MENU_ADD_ITEM(STR_EDIT);
|
||||||
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_COPY);
|
POPUP_MENU_ADD_ITEM(STR_COPY);
|
||||||
if (clipboard.type == CLIPBOARD_TYPE_CUSTOM_SWITCH)
|
if (clipboard.type == CLIPBOARD_TYPE_CUSTOM_SWITCH)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue