This commit is contained in:
The Wobbler 2025-02-28 19:28:07 +01:00
parent 5c7f4c4ef7
commit 7fdf7a66a9
2 changed files with 15 additions and 1 deletions

View file

@ -309,6 +309,9 @@ class Playlist:
for view in self.views.values(): # close views (and PyQt automatically closes the corresponding tabs)
view.deleteLater()
for track in self.tracks: # remove items that corresponded to the track and this playlist
track.delete_items(self)
self.app.utils.unique_names.remove(self.title)
self.app.library.playlists.remove(self)