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.is_playing = True
|
||||
colour = Config.COLOUR_CART_PLAYING
|
||||
thread = threading.Thread(target=self.cart_progressbar,
|
||||
args=(btn,))
|
||||
thread.start()
|
||||
# thread = threading.Thread(target=self.cart_progressbar,
|
||||
# args=(btn,))
|
||||
# thread.start()
|
||||
else:
|
||||
colour = Config.COLOUR_CART_ERROR
|
||||
btn.setStyleSheet("background-color: " + colour + ";\n")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user