Focus on current content entry in Disc Control append/insert (#13282)

This commit is contained in:
Tony 2021-11-24 20:01:43 +02:00 committed by GitHub
parent 544c8c4e29
commit ecef757af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1106,6 +1106,9 @@ int generic_action_ok_displaylist_push(const char *path,
info_path = !string_is_empty(tmp) ? tmp : dir_menu_content;
info_label = label;
dl_type = DISPLAYLIST_FILE_BROWSER_SELECT_FILE;
/* Focus on current content entry */
menu_driver_set_pending_selection(path_basename(path_get(RARCH_PATH_CONTENT)));
}
break;
case ACTION_OK_DL_SUBSYSTEM_ADD_LIST: