From 382e5d916fe7e4531eef50f3e0cd3c2795c7c6ca Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 28 Aug 2024 10:50:48 +0800 Subject: [PATCH] ConnectionBtn + StatusLbl --- pytec/tec_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 1cd90c9..2323cea 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -146,13 +146,13 @@ class MainWindow(QtWidgets.QMainWindow): ) case ThermostatConnectionState.CONNECTING: - self.status_lbl.setText("Connecting...") self.connect_btn.setText("Stop") + self.status_lbl.setText("Connecting...") case ThermostatConnectionState.DISCONNECTED: self.connect_btn.setText("Connect") - self.status_lbl.setText("Disconnected") + self.background_task_lbl.setText("Ready.") self.loading_spinner.hide() self.loading_spinner.stop()