From 134b617ec491f73dd4f402ea4a7456bf9fb67abe Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 25 May 2014 18:44:54 +0200 Subject: [PATCH] Emit dataChanged when changing skip track state. Otherwise, when changing this for the currently playing track, the "strike out" change wasn't visible. --- src/playlist/playlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playlist/playlist.cpp b/src/playlist/playlist.cpp index e622091d8..8a5ba8605 100644 --- a/src/playlist/playlist.cpp +++ b/src/playlist/playlist.cpp @@ -2142,5 +2142,6 @@ void Playlist::SkipTracks(const QModelIndexList& source_indexes) { for (const QModelIndex& source_index : source_indexes) { PlaylistItemPtr track_to_skip = item_at(source_index.row()); track_to_skip->SetShouldSkip(!((track_to_skip)->GetShouldSkip())); + emit dataChanged(source_index, source_index); } }