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.
This commit is contained in:
craig
2012-03-20 21:11:48 +00:00
committed by craig
parent aeb05c50ed
commit 9fac498ec4
2 changed files with 8 additions and 2 deletions

View File

@@ -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
-----

View File

@@ -479,6 +479,8 @@ void GroupedView::toggle(const QModelIndex &idx)
break;
}
}
dataChanged(idx, idx);
}
}