From fe3a22a5996294dbf4d88b7f0e16a1b7264255ae 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()