From 93c9877d576549d0cfe19cd8b647ad950393f3a9 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 6 Feb 2015 14:13:04 -0500 Subject: [PATCH] playlist: Allow selecting same playlist again This will go unnoticed for Favorites and Banned playlists, but will allow dynamic playlists to be refreshed without switching to a different playlist first. Signed-off-by: Anna Schumaker --- core/playlist.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/playlist.cpp b/core/playlist.cpp index ff77dede..d2af5879 100644 --- a/core/playlist.cpp +++ b/core/playlist.cpp @@ -85,16 +85,12 @@ void playlist :: del(Track *track, const std::string &name) playlist_q.del(track); if (name == "Banned") library :: get_queue()->add(track); - } void playlist :: select(const std::string &name) { IndexEntry *ent; - if (cur_plist == name) - return; - ent = playlist_db.find(name); if (ent == NULL) return;