Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynnev committed Jan 31, 2025
1 parent 5411524 commit b846194
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/library/trackset/playlist/groupedplayliststablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,16 @@ void GroupedPlaylistsTableModel::selectPlaylist(int playlistId) {
}
}

if (!m_keepHiddenTracks) {
// From Mixxx 2.1 we drop tracks that have been explicitly deleted
// in the library (mixxx_deleted = 0) from playlists.
// These invisible tracks, consuming a playlist position number were
// a source user of confusion in the past.
m_pTrackCollectionManager->internalCollection()
->getPlaylistDAO()
.removeHiddenTracks(m_iPlaylistId);
}

m_selectedPlaylist = playlistId;
FieldEscaper escaper(m_database);

Expand Down

0 comments on commit b846194

Please sign in to comment.