Update playlist virtual order after sorting (#5436) (#5466)

This commit is contained in:
Ilya Selyuminov 2016-08-26 16:59:26 +03:00 committed by John Maguire
parent 09b0fab87c
commit d9b3a9302a
1 changed files with 2 additions and 0 deletions

View File

@ -1417,6 +1417,8 @@ void Playlist::sort(int column, Qt::SortOrder order) {
undo_stack_->push(
new PlaylistUndoCommands::SortItems(this, column, order, new_items));
ReshuffleIndices();
}
void Playlist::ReOrderWithoutUndo(const PlaylistItemList& new_items) {