def on_actionParams_triggered(self, checked=None): if checked is None: return if not hasattr(self, "paramsdlg"): self.paramsdlg = DlgParams(self.system.params.double_ended_connect. local_connect_params.NEBparams, parent=self) self.paramsdlg.show()
def on_actionParameters_triggered(self, checked=None): """ open a dialog box to change the parameters """ if checked is None: return if not hasattr(self, "_paramsdlg"): self._paramsdlg = DlgParams(self._params, parent=self) self._paramsdlg.show()