Emit dataChanged when changing skip track state.

Otherwise, when changing this for the currently playing track, the "strike out" change wasn't visible.
This commit is contained in:
Arnaud Bienner 2014-05-25 18:44:54 +02:00
parent f65c48ef9c
commit 134b617ec4
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}