From ba50a8ce693f9f1983945c7cfe97da291eb5c6a5 Mon Sep 17 00:00:00 2001 From: Seth Date: Mon, 2 Dec 2024 12:39:12 +1300 Subject: [PATCH] fixed start stop text button --- OutGaugeInterpreter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OutGaugeInterpreter.py b/OutGaugeInterpreter.py index 6318c8f..fee2daa 100644 --- a/OutGaugeInterpreter.py +++ b/OutGaugeInterpreter.py @@ -115,7 +115,7 @@ else: def startStopButtonFunc(): global appState if appState == ProgramState.WAITNG: - startStopButton.config(text="start") + startStopButton.config(text="stop") appState = ProgramState.PUSHING_DATA stopThread=False workThread = threading.Thread(target=runningThread) @@ -123,7 +123,7 @@ def startStopButtonFunc(): statusTextVar.set("Running...") elif appState == ProgramState.PUSHING_DATA: - startStopButton.config(text="stop") + startStopButton.config(text="start") appState = ProgramState.WAITNG statusTextVar.set("Waiting...") stopThread = True