forked from M-Labs/thermostat
Move fan signal connection into menu setup
This commit is contained in:
parent
0443778456
commit
26fdc951bc
|
@ -150,9 +150,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
self._set_up_thermostat_menu()
|
||||
self._set_up_plot_menu()
|
||||
|
||||
self.fan_power_slider.valueChanged.connect(self.fan_set)
|
||||
self.fan_auto_box.stateChanged.connect(self.fan_auto_set)
|
||||
|
||||
self._set_param_tree()
|
||||
|
||||
self.ch0_t_plot = LiveLinePlot()
|
||||
|
@ -300,6 +297,9 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
self.gan_layout.addWidget(self.fan_pwm_warning)
|
||||
self.horizontalLayout_6.addLayout(self.gan_layout)
|
||||
|
||||
self.fan_power_slider.valueChanged.connect(self.fan_set)
|
||||
self.fan_auto_box.stateChanged.connect(self.fan_auto_set)
|
||||
|
||||
self.fan_lbl.setToolTip(_translate("MainWindow", "Adjust the fan"))
|
||||
self.fan_lbl.setText(_translate("MainWindow", "Fan:"))
|
||||
self.fan_auto_box.setText(_translate("MainWindow", "Auto"))
|
||||
|
|
Loading…
Reference in New Issue