diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index c983abe..49339a7 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -301,6 +301,7 @@ class MainWindow(QtWidgets.QMainWindow): self.loading_spinner.start() self.loading_spinner.show() + @asyncSlot(int) async def save_cfg_request(self, ch): assert self.thermostat.connected() @@ -311,6 +312,7 @@ class MainWindow(QtWidgets.QMainWindow): assert self.thermostat.connected() await self.thermostat.load_cfg(str(ch)) + @asyncSlot(bool) async def reset_request(self, _): assert self.thermostat.connected()