forked from M-Labs/thermostat
Connect up report update
This commit is contained in:
parent
4961b2adb2
commit
0e3a01d601
|
@ -134,6 +134,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
self.tec_client = Client()
|
self.tec_client = Client()
|
||||||
self.client_watcher = ClientWatcher(self, self.tec_client, self.report_refresh_spin.value())
|
self.client_watcher = ClientWatcher(self, self.tec_client, self.report_refresh_spin.value())
|
||||||
self.client_watcher.fan_update.connect(self.fan_update)
|
self.client_watcher.fan_update.connect(self.fan_update)
|
||||||
|
self.client_watcher.report_update.connect(self.update_report)
|
||||||
self.report_apply_btn.clicked.connect(
|
self.report_apply_btn.clicked.connect(
|
||||||
lambda: self.client_watcher.set_update_s(self.report_refresh_spin.value())
|
lambda: self.client_watcher.set_update_s(self.report_refresh_spin.value())
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue