Fix strangeness when rearranging the playlist with shuffle disabled
This commit is contained in:
parent
4988d45f23
commit
65d88ac831
|
@ -289,6 +289,7 @@ bool Playlist::dropMimeData(const QMimeData* data, Qt::DropAction action, int ro
|
||||||
changePersistentIndex(pidx, index(pidx.row() + d, pidx.column(), QModelIndex()));
|
changePersistentIndex(pidx, index(pidx.row() + d, pidx.column(), QModelIndex()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
current_virtual_index_ = virtual_items_.indexOf(current_index());
|
||||||
|
|
||||||
layoutChanged();
|
layoutChanged();
|
||||||
Save();
|
Save();
|
||||||
|
|
Loading…
Reference in New Issue