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 <schumaker.anna@gmail.com>
This commit is contained in:
parent
3c8e967895
commit
239c03b1ac
|
@ -24,6 +24,7 @@ void playlist :: init()
|
||||||
playlist_pq.add_sort(SORT_ARTIST);
|
playlist_pq.add_sort(SORT_ARTIST);
|
||||||
playlist_pq.add_sort(SORT_YEAR);
|
playlist_pq.add_sort(SORT_YEAR);
|
||||||
playlist_pq.add_sort(SORT_TRACK);
|
playlist_pq.add_sort(SORT_TRACK);
|
||||||
|
playlist_pq.set_flag(PQ_REPEAT);
|
||||||
playlist_pq.set_flag(PQ_NEVER_SORT);
|
playlist_pq.set_flag(PQ_NEVER_SORT);
|
||||||
|
|
||||||
get_callbacks()->on_library_import_ban = import_ban_track;
|
get_callbacks()->on_library_import_ban = import_ban_track;
|
||||||
|
|
Loading…
Reference in New Issue