forked from M-Labs/thermostat
ConnectionBtn + StatusLbl
This commit is contained in:
parent
35a179f7fa
commit
209ea365c2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user