summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-10-16 19:45:10 +0200
committerChristian Soffke <christian.soffke@gmail.com>2023-10-17 12:29:41 -0400
commitf932522d8acc012e88b8d30dbb08797e42517e8b (patch)
tree06e8e1a39a1b5f37a37ef8630533f47877c2e8b3
parente3b22935f233a2b95c1b14230bd669b8dd64a330 (diff)
downloadrockbox-f932522d8a.tar.gz
rockbox-f932522d8a.zip
WPS context menu: Set modified after reshuffle
Prevents incorrect bookmarking of permanently (not just temporarily) shuffled playlists, which need to be resaved, before they can be correctly bookmarked. Change-Id: I157d3be9d05117f7566ca72f3e736f96b42a165d
-rw-r--r--apps/onplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 4157544d28..ba06d13183 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -209,6 +209,7 @@ static bool shuffle_playlist(void)
return false;
playlist_sort(NULL, true);
playlist_randomise(NULL, current_tick, true);
+ playlist_set_modified(NULL, true);
return false;
}