Merge pull request #6452 from jonaski/songcount

Fix updating song count
This commit is contained in:
John Maguire 2019-11-13 20:55:07 +00:00 committed by GitHub
commit 34d46180c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ void LibraryView::SetApplication(Application* app) {
void LibraryView::SetFilter(LibraryFilterWidget* filter) { filter_ = filter; }
void LibraryView::TotalSongCountUpdated(int count) {
bool old = total_song_count_;
int old = total_song_count_;
total_song_count_ = count;
if (old != total_song_count_) update();