From 8ec0911ce4fc416c276e6c13fbbf611f46d9d9d7 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Mon, 15 Aug 2022 15:33:12 +0100 Subject: [PATCH] Insert commented placeholders for column sorting --- app/playlists.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/playlists.py b/app/playlists.py index d294671..33fffd0 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -151,6 +151,8 @@ class PlaylistTab(QTableWidget): self.selecting_in_progress = False # Connect signals self.horizontalHeader().sectionResized.connect(self._column_resize) + # self.horizontalHeader().sectionClicked.connect(self._header_click) + # self.setSortingEnabled(True) # Now load our tracks and notes self.populate(session, self.playlist_id) @@ -1342,6 +1344,11 @@ class PlaylistTab(QTableWidget): return self._meta_search(RowMeta.UNREADABLE, one=False) + # def _header_click(self, index: int) -> None: + # """Handle playlist header click""" + + # print(f"_header_click({index=})") + def _info_row(self, track_id: int) -> None: """Display popup with info re row"""