forked from Wobbl/Wobuzz
Playlists now get loaded when they are started and removed debug prints.
This commit is contained in:
parent
0879575882
commit
0c2c91389d
5 changed files with 12 additions and 30 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue