fixup! Fix playlist table jitter

This commit is contained in:
Peder Bergebakken Sundt 2019-11-24 16:51:15 +01:00
parent a78ce91b3b
commit 2d00a8af4b

View File

@ -322,8 +322,9 @@ class RemiApp(App):
ICON_TRASH,
])
if table == self.old_playlist: return
self.old_playlist = table
this_playlist = zip(table, [i.get("current", False) for i in playlist]) # ew, but it works...
if this_playlist == self.old_playlist: return
self.old_playlist = this_playlist
self.playlist.table.empty(keep_title=True)
self.playlist.table.append_from_list(table)