Ensure we pass ints to signal

This commit is contained in:
Keith Edmunds 2023-03-25 16:30:58 +00:00
parent 25287c8f7f
commit 3a14207c71

View File

@ -1531,8 +1531,9 @@ class Window(QMainWindow, Ui_MainWindow):
self.next_track.set_plr(session, next_plr, playlist_tab)
# 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,
next_plr_id)
next_plr_id or 0)
# Update headers
self.update_headers()