From 863106d8355a30be4fc3a889cd53929d92074370 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 28 Aug 2024 10:54:58 +0800 Subject: [PATCH] fixup! Concentrate ThermostatCtrlMenu UI changes --- pytec/pytec/gui/view/thermostat_ctrl_menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/pytec/gui/view/thermostat_ctrl_menu.py b/pytec/pytec/gui/view/thermostat_ctrl_menu.py index 2278eef..2e2302a 100644 --- a/pytec/pytec/gui/view/thermostat_ctrl_menu.py +++ b/pytec/pytec/gui/view/thermostat_ctrl_menu.py @@ -151,8 +151,8 @@ class ThermostatCtrlMenu(QtWidgets.QMenu): @pyqtSlot(ThermostatConnectionState) def thermostat_state_change_handler(self, state): if state == ThermostatConnectionState.DISCONNECTED: - self.thermostat_ctrl_menu.fan_pwm_warning.setPixmap(QtGui.QPixmap()) - self.thermostat_ctrl_menu.fan_pwm_warning.setToolTip("") + self.fan_pwm_warning.setPixmap(QtGui.QPixmap()) + self.fan_pwm_warning.setToolTip("") @pyqtSlot("QVariantMap") def hw_rev(self, hw_rev):