summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/playlisttablemodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/playlisttablemodel.cpp b/src/library/playlisttablemodel.cpp
index c06a23b10a..63fb78ce71 100644
--- a/src/library/playlisttablemodel.cpp
+++ b/src/library/playlisttablemodel.cpp
@@ -90,6 +90,9 @@ void PlaylistTableModel::initSortColumnMapping() {
TrackModel::SortColumnId::Preview)] =
fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_PREVIEW);
m_columnIndexBySortColumnId[static_cast<int>(
+ TrackModel::SortColumnId::Color)] =
+ fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_COLOR);
+ m_columnIndexBySortColumnId[static_cast<int>(
TrackModel::SortColumnId::CoverArt)] =
fieldIndex(ColumnCache::COLUMN_LIBRARYTABLE_COVERART);
m_columnIndexBySortColumnId[static_cast<int>(