Ensure we pass ints to signal
This commit is contained in:
parent
25287c8f7f
commit
3a14207c71
@ -1531,8 +1531,9 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
self.next_track.set_plr(session, next_plr, playlist_tab)
|
self.next_track.set_plr(session, next_plr, playlist_tab)
|
||||||
|
|
||||||
# Tell playlist tabs to update their 'next track' highlighting
|
# Tell playlist tabs to update their 'next track' highlighting
|
||||||
|
# Args must both be ints, so use zero for no next track
|
||||||
self.signals.set_next_track_signal.emit(old_next_track.plr_id,
|
self.signals.set_next_track_signal.emit(old_next_track.plr_id,
|
||||||
next_plr_id)
|
next_plr_id or 0)
|
||||||
|
|
||||||
# Update headers
|
# Update headers
|
||||||
self.update_headers()
|
self.update_headers()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user