From 4a03596bd3594dcf0c3fd18196358db267130c07 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 25 Mar 2023 10:30:18 +0000 Subject: [PATCH] Ensure current track visible toggling hide/show played --- app/playlists.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/playlists.py b/app/playlists.py index 4c21cfd..2067707 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -504,6 +504,9 @@ class PlaylistTab(QTableWidget): else: self.showRow(row_number) + # This causes scrolling, so ensure current track is visible + self.scroll_current_to_top() + def insert_header(self, session: scoped_session, note: str) -> None: """ Insert section header into playlist tab.