forked from len0rd/rockbox
playlist: Set playlist index after resuming
fixes current track selection in Playlist Viewer when stopped Change-Id: I3d1fa28a4bf2d631918e159a3fd8025c17979833
This commit is contained in:
parent
fb26398622
commit
24c9ccfac0
1 changed files with 3 additions and 0 deletions
|
@ -3532,6 +3532,9 @@ int playlist_resume(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (global_status.resume_index != -1)
|
||||
playlist->index = global_status.resume_index;
|
||||
|
||||
out:
|
||||
playlist_write_unlock(playlist);
|
||||
dc_thread_start(playlist, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue