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):