Playlists now get loaded when they are started and removed debug prints.

This commit is contained in:
The Wobbler 2025-02-12 13:50:12 +01:00
parent 0879575882
commit 0c2c91389d
5 changed files with 12 additions and 30 deletions

View file

@ -41,8 +41,6 @@ class PlaylistView(QTreeWidget):
self.setHeaderLabels(headers)
#self.load_tracks()
self.itemActivated.connect(self.on_track_activation)
def on_user_sort(self):
@ -143,8 +141,6 @@ class PlaylistView(QTreeWidget):
if track:
playlist_tabs.setTabIcon(index, self.playing_mark) # mark this playlist
print(self.app.player.current_playlist.current_track_index)
# mark the current track in this playlist
item = self.topLevelItem(self.app.player.current_playlist.current_track_index)
item.setIcon(0, self.playing_mark)