Workaround to crash when playing cart with next track selected
This commit is contained in:
parent
2f13099bda
commit
52776fcf8d
@ -195,9 +195,9 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
btn.player.play()
|
btn.player.play()
|
||||||
btn.is_playing = True
|
btn.is_playing = True
|
||||||
colour = Config.COLOUR_CART_PLAYING
|
colour = Config.COLOUR_CART_PLAYING
|
||||||
thread = threading.Thread(target=self.cart_progressbar,
|
# thread = threading.Thread(target=self.cart_progressbar,
|
||||||
args=(btn,))
|
# args=(btn,))
|
||||||
thread.start()
|
# thread.start()
|
||||||
else:
|
else:
|
||||||
colour = Config.COLOUR_CART_ERROR
|
colour = Config.COLOUR_CART_ERROR
|
||||||
btn.setStyleSheet("background-color: " + colour + ";\n")
|
btn.setStyleSheet("background-color: " + colour + ";\n")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user