diff --git a/pytec/pytec/gui/view/thermostat_ctrl_menu.py b/pytec/pytec/gui/view/thermostat_ctrl_menu.py index 2df7a08..954cb6c 100644 --- a/pytec/pytec/gui/view/thermostat_ctrl_menu.py +++ b/pytec/pytec/gui/view/thermostat_ctrl_menu.py @@ -8,9 +8,6 @@ from pytec.gui.view.net_settings_input_diag import NetSettingsInputDiag class ThermostatCtrlMenu(QtWidgets.QMenu): reset_act = pyqtSignal(bool) - load_cfg_act = pyqtSignal(int) - save_cfg_act = pyqtSignal(int) - def __init__(self, thermostat, style): super().__init__() self._thermostat = thermostat diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index b5cbb4e..ad39b2f 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -141,8 +141,6 @@ class MainWindow(QtWidgets.QMainWindow): self.thermostat_ctrl_menu = ThermostatCtrlMenu(self.thermostat, self.style()) self.thermostat_ctrl_menu.reset_act.connect(self.reset_request) - self.thermostat_ctrl_menu.save_cfg_act.connect(self.save_cfg_request) - self.thermostat_ctrl_menu.load_cfg_act.connect(self.load_cfg_request) self.thermostat.hw_rev_update.connect(self.thermostat_ctrl_menu.hw_rev) self.thermostat_settings.setMenu(self.thermostat_ctrl_menu) @@ -301,18 +299,6 @@ 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() - - await self.thermostat.save_cfg(str(ch)) - - @asyncSlot(int) - async def load_cfg_request(self, ch): - assert self.thermostat.connected() - - await self.thermostat.load_cfg(str(ch)) - @asyncSlot(bool) async def reset_request(self, _): assert self.thermostat.connected()