Add back asyncSlot to save_cfg_request

This commit is contained in:
atse 2024-08-30 15:21:57 +08:00
parent 1829d72536
commit 99e1574886

View File

@ -292,6 +292,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.loading_spinner.start() self.loading_spinner.start()
self.loading_spinner.show() self.loading_spinner.show()
@asyncSlot(int)
async def save_cfg_request(self, ch): async def save_cfg_request(self, ch):
assert self.thermostat.connected() assert self.thermostat.connected()