From 487064738712e9c98208621ea639db911ea53716 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sun, 1 Jan 2023 18:27:41 +0000 Subject: [PATCH] Fix current track highligting when starting track on another playlist --- app/musicmuster.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/musicmuster.py b/app/musicmuster.py index 6901304..349c32e 100755 --- a/app/musicmuster.py +++ b/app/musicmuster.py @@ -1092,6 +1092,16 @@ class Window(QMainWindow, Ui_MainWindow): # 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 self.update_headers()