fixed running and waiting text

This commit is contained in:
Seth Samuel 2024-12-02 12:36:36 +13:00
parent e1474b162c
commit 8cc959504f

View file

@ -120,12 +120,12 @@ def startStopButtonFunc():
stopThread=False stopThread=False
workThread = threading.Thread(target=runningThread) workThread = threading.Thread(target=runningThread)
workThread.start() workThread.start()
statusTextVar.set("Waiting...") statusTextVar.set("Running...")
elif appState == ProgramState.PUSHING_DATA: elif appState == ProgramState.PUSHING_DATA:
startStopButton.config(text="stop") startStopButton.config(text="stop")
appState = ProgramState.WAITNG appState = ProgramState.WAITNG
statusTextVar.set("Running...") statusTextVar.set("Waiting...")
stopThread = True stopThread = True
##GUI init ##GUI init