fixed running and waiting text
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user