forked from M-Labs/thermostat
fixup! Concentrate ThermostatCtrlMenu UI changes
This commit is contained in:
parent
ff4aa61b1e
commit
863106d835
@ -151,8 +151,8 @@ class ThermostatCtrlMenu(QtWidgets.QMenu):
|
|||||||
@pyqtSlot(ThermostatConnectionState)
|
@pyqtSlot(ThermostatConnectionState)
|
||||||
def thermostat_state_change_handler(self, state):
|
def thermostat_state_change_handler(self, state):
|
||||||
if state == ThermostatConnectionState.DISCONNECTED:
|
if state == ThermostatConnectionState.DISCONNECTED:
|
||||||
self.thermostat_ctrl_menu.fan_pwm_warning.setPixmap(QtGui.QPixmap())
|
self.fan_pwm_warning.setPixmap(QtGui.QPixmap())
|
||||||
self.thermostat_ctrl_menu.fan_pwm_warning.setToolTip("")
|
self.fan_pwm_warning.setToolTip("")
|
||||||
|
|
||||||
@pyqtSlot("QVariantMap")
|
@pyqtSlot("QVariantMap")
|
||||||
def hw_rev(self, hw_rev):
|
def hw_rev(self, hw_rev):
|
||||||
|
Loading…
Reference in New Issue
Block a user