mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-15 18:19:33 +01:00
Fix marking songs available
This commit is contained in:
parent
c75db8dc60
commit
61b201810d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user