summaryrefslogtreecommitdiffstats
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 03470a279f..e7f7e589db 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -446,6 +446,8 @@ static bool playing_time(void)
/* CONTEXT_WPS playlist options */
static bool shuffle_playlist(void)
{
+ if (!warn_on_pl_erase())
+ return false;
playlist_sort(NULL, true);
playlist_randomise(NULL, current_tick, true);