diff options
-rw-r--r-- | apps/onplay.c | 2 |
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) | |||
446 | /* CONTEXT_WPS playlist options */ | 446 | /* CONTEXT_WPS playlist options */ |
447 | static bool shuffle_playlist(void) | 447 | static bool shuffle_playlist(void) |
448 | { | 448 | { |
449 | if (!warn_on_pl_erase()) | ||
450 | return false; | ||
449 | playlist_sort(NULL, true); | 451 | playlist_sort(NULL, true); |
450 | playlist_randomise(NULL, current_tick, true); | 452 | playlist_randomise(NULL, current_tick, true); |
451 | 453 | ||