(menu_cbs) Don't compare labels when menu entry comes from playlist

This commit is contained in:
Higor Eurípedes 2017-08-31 21:27:14 -03:00
parent 47bfca5365
commit a1822055b6
2 changed files with 4 additions and 3 deletions

View File

@ -1759,8 +1759,8 @@ int menu_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_default);
if (menu_cbs_init_bind_deferred_push_compare_label(
cbs, label, label_hash) == 0)
if (cbs->enum_idx != MENU_ENUM_LABEL_PLAYLIST_ENTRY &&
menu_cbs_init_bind_deferred_push_compare_label(cbs, label, label_hash) == 0)
return 0;
if (menu_cbs_init_bind_deferred_push_compare_type(

View File

@ -1105,7 +1105,8 @@ int menu_cbs_init_bind_title(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_TITLE(cbs, action_get_title_default);
if (menu_cbs_init_bind_title_compare_label(cbs, label, label_hash) == 0)
if (cbs->enum_idx != MENU_ENUM_LABEL_PLAYLIST_ENTRY &&
menu_cbs_init_bind_title_compare_label(cbs, label, label_hash) == 0)
return 0;
if (menu_cbs_init_bind_title_compare_type(cbs, type) == 0)