1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    switch (do_menu(menu, NULL, NULL, false))
    {
#ifdef HAVE_HOTKEY
        hotkey_settable_menu = false;
        case MENU_SELECTED_HOTKEY:
            set_hotkey(context == CONTEXT_WPS);
            return ONPLAY_RELOAD_DIR;
#endif
        case GO_TO_WPS:
            return ONPLAY_START_PLAY;
        case GO_TO_ROOT:
        case GO_TO_MAINMENU:
            return ONPLAY_MAINMENU;
        case GO_TO_PLAYLIST_VIEWER:
            return ONPLAY_PLAYLIST;
        default:
            return onplay_result;
    }