fixed running and waiting text
This commit is contained in:
@@ -120,12 +120,12 @@ def startStopButtonFunc():
|
||||
stopThread=False
|
||||
workThread = threading.Thread(target=runningThread)
|
||||
workThread.start()
|
||||
statusTextVar.set("Waiting...")
|
||||
statusTextVar.set("Running...")
|
||||
|
||||
elif appState == ProgramState.PUSHING_DATA:
|
||||
startStopButton.config(text="stop")
|
||||
appState = ProgramState.WAITNG
|
||||
statusTextVar.set("Running...")
|
||||
statusTextVar.set("Waiting...")
|
||||
stopThread = True
|
||||
|
||||
##GUI init
|
||||
|
||||
Reference in New Issue
Block a user