Don't scroll to top without a row

This commit is contained in:
Keith Edmunds 2022-11-11 21:06:15 +00:00
parent a0c1dad2f5
commit 6339326947

View File

@ -1727,6 +1727,9 @@ class PlaylistTab(QTableWidget):
top. top.
""" """
if row is None:
return
padding_required = Config.SCROLL_TOP_MARGIN padding_required = Config.SCROLL_TOP_MARGIN
top_row = row top_row = row