From 9fac498ec40488e1dbbda9d2cf94c06499a4e293 Mon Sep 17 00:00:00 2001 From: craig Date: Tue, 20 Mar 2012 21:11:48 +0000 Subject: [PATCH] When an album is collapsed/expanded in playqueue, call dataChanged() so that title row is redrawn - otherwise, for single-track albums, the view might not get refreshed. --- ChangeLog | 8 ++++++-- widgets/groupedview.cpp | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7a263a624..352cc8645 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,9 +6,13 @@ 3. Give tray icon a tooltip - thanks to Martin Blumenstingl for the patch. 4. Apply 'group single track albums' to devices. 5. Add option to group albums with multiple artists under Various Artists. -6. When checking whether a song exists in device, or library, need to also check - 'single tracks' and 'multiple artist' groupings - if these have been enabled. +6. When checking whether a song exists in device, or library, need to also + check 'single tracks' and 'multiple artist' groupings - if these have been + enabled. 7. Update playlists if modified by another client. +8. When an album is collapsed/expanded in playqueue, call dataChanged() so that + title row is redrawn - otherwise, for single-track albums, the view might + not get refreshed. 0.5.1 ----- diff --git a/widgets/groupedview.cpp b/widgets/groupedview.cpp index 4635e67dc..d4b534b50 100644 --- a/widgets/groupedview.cpp +++ b/widgets/groupedview.cpp @@ -479,6 +479,8 @@ void GroupedView::toggle(const QModelIndex &idx) break; } } + + dataChanged(idx, idx); } }