Git commit 6f56d81e2a0275af2a6170d2059911ca4e3850d9 by Bart Cerneels. Committed on 24/12/2012 at 12:48. Pushed by shanachie into branch 'master'. Prevent incorrect playlistview by resetting grouping proxy. This causes the selection and expansion state to reset but at least the view is not completely incorrect. M +3 -0 src/browsers/playlistbrowser/PlaylistsInFoldersProxy.cpp http://commits.kde.org/amarok/6f56d81e2a0275af2a6170d2059911ca4e3850d9 diff --git a/src/browsers/playlistbrowser/PlaylistsInFoldersProxy.cpp b/src= /browsers/playlistbrowser/PlaylistsInFoldersProxy.cpp index 921cf77..a12dbe7 100644 --- a/src/browsers/playlistbrowser/PlaylistsInFoldersProxy.cpp +++ b/src/browsers/playlistbrowser/PlaylistsInFoldersProxy.cpp @@ -344,6 +344,9 @@ PlaylistsInFoldersProxy::deleteFolder( const QModelInde= x &groupIdx ) removeRows( 0, childCount, groupIdx ); } removeGroup( groupIdx ); + //force a rebuild because groupHash might be incorrect + //TODO: make QtGroupingProxy adjust groupHash keys + buildTree(); } = QModelIndex