If using table-style play queue, then only sort one column at a time.

Issue #1749
This commit is contained in:
Craig Drummond
2021-12-27 20:49:14 +00:00
parent dbdc211da2
commit cb1d890e05
4 changed files with 52 additions and 14 deletions

View File

@@ -220,6 +220,7 @@ void PlayQueueView::setMode(ItemView::Mode m)
break;
}
PlayQueueModel::self()->setSimpleSort(ItemView::Mode_Table==m);
QAbstractItemModel *model=nullptr;
QList<QAction *> actions;
if (ItemView::Mode_Count!=mode) {