diff options
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c index 6340185e07..ecbf3ddb4c 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -477,6 +477,12 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected) { list_stop_handler(); } + else if (action == ACTION_STD_CONTEXT && + menu == &root_menu_) + { + ret = GO_TO_ROOTITEM_CONTEXT; + done = true; + } else if (action == ACTION_STD_MENU) { if ((menu->flags&MENU_TYPE_MASK) == MT_OLD_MENU) |