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