Fix current track highligting when starting track on another playlist
This commit is contained in:
parent
046b689882
commit
4870647387
@ -1092,6 +1092,16 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
# Disable play next controls
|
# Disable play next controls
|
||||||
self.disable_play_next_controls()
|
self.disable_play_next_controls()
|
||||||
|
|
||||||
|
# If previous track playlist is showing and that's not the
|
||||||
|
# current track playlist, we need to update the display to
|
||||||
|
# reset the current track highlighting
|
||||||
|
if (
|
||||||
|
self.previous_track.playlist_tab == self.visible_playlist_tab()
|
||||||
|
and
|
||||||
|
self.current_track.playlist_tab != self.visible_playlist_tab()
|
||||||
|
):
|
||||||
|
self.visible_playlist_tab().update_display(session)
|
||||||
|
|
||||||
# Update headers
|
# Update headers
|
||||||
self.update_headers()
|
self.update_headers()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user