fixed running and waiting text
This commit is contained in:
parent
e1474b162c
commit
8cc959504f
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue