Fix bug where unable to preview first row of playlist.

This commit is contained in:
Keith Edmunds 2023-10-16 23:25:09 +01:00
parent d57ffbdb09
commit 2ca2471f5e

View File

@ -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: