From d9abf72f6ac7a0f2a1a9ff9b00a628f3061dd43a Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Sat, 21 Dec 2024 16:40:51 +0000 Subject: [PATCH] Fix section hiding We were suppressing hiding when section contained previous track. Now, when all are played, we hide. --- app/playlistmodel.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/playlistmodel.py b/app/playlistmodel.py index b2609ca..f5f8a60 100644 --- a/app/playlistmodel.py +++ b/app/playlistmodel.py @@ -124,7 +124,6 @@ class PlaylistModel(QAbstractTableModel): for ts in [ track_sequence.next, track_sequence.current, - track_sequence.previous, ]: if ts and ts.row_number == row_number and ts.playlist_id == self.playlist_id: break