This commit is contained in:
Zlika 2018-09-21 22:36:09 +02:00
parent e64b371955
commit efb2f31a3b

View File

@ -567,6 +567,8 @@ void menu_input_post_iterate(int *ret, unsigned action)
menu_entry_t entry;
settings_t *settings = config_get_ptr();
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
menu_input_t *menu_input = menu_input_get_ptr();
menu_navigation_set_selection(menu_input->pointer.ptr);
size_t selection = menu_navigation_get_selection();
menu_file_list_cbs_t *cbs = selection_buf ?
(menu_file_list_cbs_t*)file_list_get_actiondata_at_offset(selection_buf, selection) : NULL;