From 2ca2471f5e0ab1622c7e46319ed0c46ad53a7011 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Mon, 16 Oct 2023 23:25:09 +0100 Subject: [PATCH] Fix bug where unable to preview first row of playlist. --- app/playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/playlists.py b/app/playlists.py index a3aff53..d752f69 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -547,7 +547,7 @@ class PlaylistTab(QTableWidget): """ first_selected_row = self._get_selected_row() - if not first_selected_row: + if first_selected_row is None: return None path = self._get_row_track_path(first_selected_row) if not path: