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:
John Henry Beale
2026-05-15 15:07:28 +02:00
parent 96c5163b27
commit 6dae79b8a0
+2
View File
@@ -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)