Fix marking songs available
This commit is contained in:
@@ -597,7 +597,13 @@ void CollectionBackend::MarkSongsUnavailable(const SongList &songs, const bool u
|
|||||||
}
|
}
|
||||||
transaction.Commit();
|
transaction.Commit();
|
||||||
|
|
||||||
emit SongsDeleted(songs);
|
if (unavailable) {
|
||||||
|
emit SongsDeleted(songs);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
emit SongsDiscovered(songs);
|
||||||
|
}
|
||||||
|
|
||||||
UpdateTotalSongCountAsync();
|
UpdateTotalSongCountAsync();
|
||||||
UpdateTotalArtistCountAsync();
|
UpdateTotalArtistCountAsync();
|
||||||
UpdateTotalAlbumCountAsync();
|
UpdateTotalAlbumCountAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user