Workaround to crash when playing cart with next track selected

This commit is contained in:
Keith Edmunds 2022-10-26 14:20:34 +01:00
parent 2f13099bda
commit 52776fcf8d

View File

@ -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")