From aafc25a503f39ccb83129babe03a44b97ea241a5 Mon Sep 17 00:00:00 2001 From: zhujun98 Date: Tue, 26 May 2020 10:07:55 +0200 Subject: [PATCH] Allow selecting module layout in the GUI --- extra_foam/gui/ctrl_widgets/geometry_ctrl_widget.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extra_foam/gui/ctrl_widgets/geometry_ctrl_widget.py b/extra_foam/gui/ctrl_widgets/geometry_ctrl_widget.py index c46f58c2b..67c8875eb 100644 --- a/extra_foam/gui/ctrl_widgets/geometry_ctrl_widget.py +++ b/extra_foam/gui/ctrl_widgets/geometry_ctrl_widget.py @@ -57,6 +57,7 @@ def __init__(self, *args, **kwargs): self._coordinates_tb = QTableWidget() + if self._detector in ("JungFrau", "ePix100"): self._coordinates_tb.setEnabled(False) self._assembler_cb.removeItem(1) # no EXtra-geom