mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Playlist Viewer: Eliminate 'dirty' flag
A playlist's explicit 'modified' flag is now used for keeping track of whether it's been modified in the Playlist Viewer, not just in case of the currently playing list, but for other playlists as well. When you start playback of a track from the Playlist Viewer, a playlist's 'modified' status is now carried over to the current playlist, so as to produce a warning when there is an attempt to replace the list at a later point. This also prevents (auto) bookmarking of the playlist if it had been modified in the Playlist Viewer prior to becoming the current playlist. (Bugfix) Change-Id: Ibc391fd69285f8a67d6ffb6d8c274df3d223974c
This commit is contained in:
parent
9cd4943950
commit
759aaecdff
2 changed files with 12 additions and 13 deletions
|
|
@ -3780,6 +3780,7 @@ int playlist_set_current(struct playlist_info* playlist)
|
|||
current_playlist.amount = playlist->amount;
|
||||
current_playlist.last_insert_pos = playlist->last_insert_pos;
|
||||
current_playlist.seed = playlist->seed;
|
||||
current_playlist.flags = playlist->flags;
|
||||
|
||||
result = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue