add gonio default positions

This commit is contained in:
2023-05-24 11:53:41 +02:00
parent 89c836e29d
commit c1a674c91b
5 changed files with 96 additions and 34 deletions

View File

@@ -56,7 +56,7 @@ class SimMotorTweak(QWidget, Ui_MotorTweak):
self._templates = {}
def connect_motor(self, rec_name, short_name=None, *args, **kwargs):
def connect_motor(self, rec_name, short_name, *args, **kwargs):
self.label.setToolTip('{} => {}'.format(rec_name, short_name))
self._motor=m=SimMotor(rec_name, short_name)
self.set_motor_validator()