From 6dae79b8a06e3eb78ca7ae600c3341a47bf63ede Mon Sep 17 00:00:00 2001 From: John Henry Beale Date: Fri, 15 May 2026 15:07:28 +0200 Subject: [PATCH] added additional safety to the Move backlight button so that the detector always moves to the out position 1st before the post-tube moves --- swissmx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swissmx.py b/swissmx.py index cd6a688..d23ed72 100755 --- a/swissmx.py +++ b/swissmx.py @@ -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)