mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
It was possible to have the Limits contextual menu displayed in
READ_ONLY mode
This commit is contained in:
parent
8354f4d842
commit
c4c7fed727
1 changed files with 1 additions and 1 deletions
|
@ -4064,7 +4064,7 @@ void menuModelLimits(uint8_t event)
|
|||
|
||||
#if defined(PCBTARANIS)
|
||||
putsChn(0, y, k+1, (sub==k && m_posHorz < 0) ? INVERS : 0);
|
||||
if (sub==k && m_posHorz < 0 && event==EVT_KEY_LONG(KEY_ENTER)) {
|
||||
if (sub==k && m_posHorz < 0 && event==EVT_KEY_LONG(KEY_ENTER) && !READ_ONLY()) {
|
||||
killEvents(event);
|
||||
MENU_ADD_ITEM(STR_RESET);
|
||||
MENU_ADD_ITEM(STR_COPY_TRIMS_TO_OFS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue