Don't scroll to top without a row
This commit is contained in:
parent
a0c1dad2f5
commit
6339326947
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user