mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
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:
|
out:
|
||||||
playlist_write_unlock(playlist);
|
playlist_write_unlock(playlist);
|
||||||
dc_thread_start(playlist, true);
|
dc_thread_start(playlist, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue