From 209ea365c2936b72e916223c61a8c931013d4e0d 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 8322ffc..a036aaf 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -154,13 +154,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()