From 3dbfc2a2feb8939d7d4fc341830b733bd05984b8 Mon Sep 17 00:00:00 2001 From: JeanBilheux Date: Mon, 22 May 2023 14:33:53 -0400 Subject: [PATCH] Disable TOF selection when loading in progress. this refs #49 --- src/hyperctui/autonomous_reconstruction/select_tof_regions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hyperctui/autonomous_reconstruction/select_tof_regions.py b/src/hyperctui/autonomous_reconstruction/select_tof_regions.py index c9e4e46..8e5c045 100644 --- a/src/hyperctui/autonomous_reconstruction/select_tof_regions.py +++ b/src/hyperctui/autonomous_reconstruction/select_tof_regions.py @@ -259,10 +259,12 @@ def check_table_state(self): o_table.unblock_signals() def projections_changed(self): + self.ui.setEnabled(False) self.load_images() self.update_top_view() self.display_tof_profile() self.update_display_regions() + self.ui.setEnabled(True) def instrument_settings_changed(self): distance_source_detector = str(self.ui.distance_source_detector_value.text())