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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue