WIP: playlists.py refactor
This commit is contained in:
parent
c14f03f0c1
commit
58ec47517d
@ -1546,16 +1546,10 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
|
||||
self.next_track.set_plr(session, plr, playlist_tab)
|
||||
if self.next_track.playlist_tab:
|
||||
self.next_track.playlist_tab.update_display(session)
|
||||
if self.current_track.playlist_tab != self.next_track.playlist_tab:
|
||||
self.set_tab_colour(self.next_track.playlist_tab,
|
||||
QColor(Config.COLOUR_NEXT_TAB))
|
||||
|
||||
# If we've changed playlist tabs for next track, refresh old one
|
||||
# to remove highligting of next track
|
||||
if original_next_track_playlist_tab:
|
||||
original_next_track_playlist_tab.update_display(session)
|
||||
|
||||
# Populate footer if we're not currently playing
|
||||
if not self.playing and self.next_track.track_id:
|
||||
self.label_track_length.setText(
|
||||
|
||||
913
app/playlists.py
913
app/playlists.py
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user