From 239c03b1ac1a7009af72cfa76fdd23f505dd8805 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Sat, 1 Mar 2014 19:54:07 -0500 Subject: [PATCH] playlist: playqueue should not remove tracks I was double clicking tracks in the gui, and they were removed from the playqueue! This patch fixes that. Signed-off-by: Anna Schumaker --- lib/playlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/playlist.cpp b/lib/playlist.cpp index 144f279c..dec5d064 100644 --- a/lib/playlist.cpp +++ b/lib/playlist.cpp @@ -24,6 +24,7 @@ void playlist :: init() playlist_pq.add_sort(SORT_ARTIST); playlist_pq.add_sort(SORT_YEAR); playlist_pq.add_sort(SORT_TRACK); + playlist_pq.set_flag(PQ_REPEAT); playlist_pq.set_flag(PQ_NEVER_SORT); get_callbacks()->on_library_import_ban = import_ban_track;