Skip to content

Commit

Permalink
Merge pull request #12866 from ronso0/playlist-counter-fix
Browse files Browse the repository at this point in the history
Playlists: enforce update of playlist labels
  • Loading branch information
m0dB authored Feb 24, 2024
2 parents 99bc5c2 + d062656 commit 2f10a52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/dao/playlistdao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ int PlaylistDAO::getPlaylistId(const int index) const {
PlaylistDAO::HiddenType PlaylistDAO::getHiddenType(const int playlistId) const {
// qDebug() << "PlaylistDAO::getHiddenType"
// << QThread::currentThread() << m_database.connectionName();
if (playlistId != kInvalidPlaylistId) { // type is known, save a query
if (playlistId == kInvalidPlaylistId) { // type is known, save a query
return PlaylistDAO::PLHT_UNKNOWN;
}

Expand Down
1 change: 1 addition & 0 deletions src/library/trackset/baseplaylistfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ void BasePlaylistFeature::updateChildModel(const QSet<int>& playlistIds) {
}
}
}
m_pSidebarModel->triggerRepaint();
}

/// Clears the child model dynamically, but the invisible root item remains
Expand Down

0 comments on commit 2f10a52

Please sign in to comment.