aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 3f18f6b81..cce2924c1 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -951,6 +951,9 @@ void setPlaylistRandomStatus(bool status)
if (status == playlist.queue.random)
return;
+ if (playlist.queued >= 0)
+ clearPlayerQueue();
+
playlist.queue.random = status;
if (playlist.queue.random) {