diff --git a/menu/cbs/menu_cbs_left.c b/menu/cbs/menu_cbs_left.c index df0e4e20e8..50dd580d0d 100644 --- a/menu/cbs/menu_cbs_left.c +++ b/menu/cbs/menu_cbs_left.c @@ -568,6 +568,7 @@ static int menu_cbs_init_bind_left_compare_type(menu_file_list_cbs_t *cbs, case MENU_SETTING_GROUP: if ( string_is_equal(menu_label, menu_hash_to_str_enum(MENU_ENUM_LABEL_HISTORY_TAB)) || string_is_equal(menu_label, menu_hash_to_str_enum(MENU_ENUM_LABEL_PLAYLISTS_TAB)) || + string_is_equal(menu_label, menu_hash_to_str_enum(MENU_ENUM_LABEL_ADD_TAB)) || string_is_equal(menu_label, menu_hash_to_str_enum(MENU_ENUM_LABEL_SETTINGS_TAB)) ) { diff --git a/menu/cbs/menu_cbs_title.c b/menu/cbs/menu_cbs_title.c index d36f3f8193..64b4cc91ee 100644 --- a/menu/cbs/menu_cbs_title.c +++ b/menu/cbs/menu_cbs_title.c @@ -281,6 +281,8 @@ static int action_get_title_group_settings(const char *path, const char *label, strlcpy(s, menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SETTINGS_TAB), len); else if (string_is_equal(label, menu_hash_to_str_enum(MENU_ENUM_LABEL_PLAYLISTS_TAB))) strlcpy(s, menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_PLAYLISTS_TAB), len); + else if (string_is_equal(label, menu_hash_to_str_enum(MENU_ENUM_LABEL_ADD_TAB))) + strlcpy(s, menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ADD_TAB), len); else { char elem0[PATH_MAX_LENGTH] = {0}; diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index ce075d5a9d..ceee90bb3c 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2996,7 +2996,7 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action break; case XMB_SYSTEM_TAB_ADD: menu_stack->list[stack_size - 1].label = - strdup(menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ADD_TAB)); + strdup(menu_hash_to_str_enum(MENU_ENUM_LABEL_ADD_TAB)); menu_stack->list[stack_size - 1].type = MENU_ADD_TAB; break; diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 4405f66a7b..32b6dc7aa5 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3549,6 +3549,12 @@ static bool menu_displaylist_push_internal( } return true; } + else if (string_is_equal(label, menu_hash_to_str_enum(MENU_ENUM_LABEL_ADD_TAB))) + { + if (!menu_displaylist_ctl(DISPLAYLIST_SCAN_DIRECTORY_LIST, info)) + return false; + return true; + } switch (menu_hash_calculate(label)) {