added additional safety to the Move backlight button so that the detector always moves to the out position 1st before the post-tube moves
This commit is contained in:
@@ -879,6 +879,8 @@ class WndSwissMx(QMainWindow, Ui_MainWindow):
|
||||
def cb_move_backlight_safe(self, pos):
|
||||
app=QApplication.instance()
|
||||
bl=app._backlight
|
||||
# any move of backlight requires detector move first
|
||||
self.move_detector("out")
|
||||
# any move of backlight requires post sample tube out
|
||||
self.move_post_tube("out")
|
||||
bl.move(pos)
|
||||
|
||||
Reference in New Issue
Block a user