Skip to content

Commit

Permalink
Merge pull request #4297 from daschuer/lp1943643
Browse files Browse the repository at this point in the history
Remove no longer valid assertion, fixing lp1943643
  • Loading branch information
uklotzde authored Sep 18, 2021
2 parents efb126c + ab6839d commit 7b849fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/trackset/baseplaylistfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ void BasePlaylistFeature::selectPlaylistInSidebar(int playlistId, bool select) {
void BasePlaylistFeature::activateChild(const QModelIndex& index) {
//qDebug() << "BasePlaylistFeature::activateChild()" << index;
int playlistId = playlistIdFromIndex(index);
VERIFY_OR_DEBUG_ASSERT(playlistId != kInvalidPlaylistId) {
if (playlistId == kInvalidPlaylistId) {
// This happens if user clicks on group nodes
// like the year folder in the history feature
return;
}
m_pPlaylistTableModel->setTableModel(playlistId);
Expand Down

0 comments on commit 7b849fb

Please sign in to comment.