From e33c5cda8e3a5ff666bca4df2a60a5c4879865be Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 23 May 2015 20:24:54 +0200 Subject: [PATCH] status: don't remove selection on playlist update --- src/status.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/status.cpp b/src/status.cpp index bb42e4bc..cf2dbca5 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -433,9 +433,6 @@ void Status::Changes::playlist(unsigned previous_version) // if song's already in playlist, replace it with a new one MPD::Song &old_s = myPlaylist->main()[pos].value(); myPlaylist->unregisterSong(old_s); - // remove selection only if the path is different - if (old_s != *s) - myPlaylist->main()[pos].setSelected(false); old_s = std::move(*s); } else // otherwise just add it to playlist