mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Hide 'scan content' entries from Collections menu when 'Show Import content Tab' is disabled (RGUI, GLUI)
This commit is contained in:
parent
51c9914cbb
commit
11391d601c
@ -3458,16 +3458,19 @@ static int menu_displaylist_parse_playlists(
|
|||||||
if (!horizontal)
|
if (!horizontal)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBRETRODB
|
#ifdef HAVE_LIBRETRODB
|
||||||
menu_entries_append_enum(info->list,
|
if (settings->bools.menu_content_show_add)
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
|
{
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_DIRECTORY),
|
menu_entries_append_enum(info->list,
|
||||||
MENU_ENUM_LABEL_SCAN_DIRECTORY,
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_DIRECTORY),
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_DIRECTORY),
|
||||||
menu_entries_append_enum(info->list,
|
MENU_ENUM_LABEL_SCAN_DIRECTORY,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE),
|
menu_entries_append_enum(info->list,
|
||||||
MENU_ENUM_LABEL_SCAN_FILE,
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
|
||||||
MENU_SETTING_ACTION, 0, 0);
|
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE),
|
||||||
|
MENU_ENUM_LABEL_SCAN_FILE,
|
||||||
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (settings->bools.menu_content_show_favorites)
|
if (settings->bools.menu_content_show_favorites)
|
||||||
menu_entries_append_enum(info->list,
|
menu_entries_append_enum(info->list,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user