This commit is contained in:
Jean-André Santoni 2017-05-19 00:38:04 +02:00
parent 4d24153870
commit f341f70705
2 changed files with 2 additions and 2 deletions

View File

@ -3600,6 +3600,7 @@ static int action_ok_scan_directory_list(const char *path,
static int action_ok_push_random_dir(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx)
{
filebrowser_set_type(FILEBROWSER_SELECT_DIR);
return generic_action_ok_displaylist_push(path, path,
msg_hash_to_str(MENU_ENUM_LABEL_FAVORITES),
type, idx,

View File

@ -49,8 +49,7 @@ void filebrowser_clear_type(void)
void filebrowser_set_type(enum filebrowser_enums type)
{
if (filebrowser_types != FILEBROWSER_SELECT_FILE)
filebrowser_types = type;
filebrowser_types = type;
}
void filebrowser_parse(void *data, unsigned type_data)