From 71d1dedbdb0c23b210721bc573ba7da6971759f9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 8 Feb 2018 01:02:32 +0100 Subject: [PATCH] Fix playlist run entries --- menu/cbs/menu_cbs_ok.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 9b09db9303..bea9aecdd2 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -4338,6 +4338,7 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs, } static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs, + const char *label, const char *menu_label, unsigned type) { if (type == MENU_SETTINGS_CUSTOM_BIND_KEYBOARD || @@ -4369,7 +4370,9 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs, break; case FILE_TYPE_PLAYLIST_ENTRY: if (string_is_equal( - menu_label, msg_hash_to_str(MENU_ENUM_LABEL_COLLECTION))) + menu_label, msg_hash_to_str(MENU_ENUM_LABEL_COLLECTION)) || + string_is_equal( + menu_label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_RPL_ENTRY_ACTIONS))) { BIND_ACTION_OK(cbs, action_ok_playlist_entry_collection); } @@ -4657,7 +4660,7 @@ int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs, if (menu_cbs_init_bind_ok_compare_label(cbs, label) == 0) return 0; - if (menu_cbs_init_bind_ok_compare_type(cbs, menu_label, type) == 0) + if (menu_cbs_init_bind_ok_compare_type(cbs, label, menu_label, type) == 0) return 0; return -1;