(Menu) Animate a cancel after a playlist entry is deleted

This commit is contained in:
Jean-André Santoni 2016-08-29 01:46:58 +02:00
parent a5fc3b01ba
commit 25a2b64f1c
1 changed files with 6 additions and 0 deletions

View File

@ -2546,6 +2546,12 @@ static int action_ok_delete_entry(const char *path,
playlist_delete_index(playlist, rpl_entry_selection_ptr);
size_t new_selection_ptr;
menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &new_selection_ptr);
menu_entries_pop_stack(&new_selection_ptr, 0, 1);
menu_navigation_ctl(MENU_NAVIGATION_CTL_SET_SELECTION, &new_selection_ptr);
return 0;
}