Skip to content

Commit 55aaf85

Browse files
committed
Skip focus mode for powder/laue calibration
It keeps on causing issues, so let's just disable it for now. We can enable it as long as we are sure that this issue will not happen again: #1556 Signed-off-by: Patrick Avery <[email protected]>
1 parent 337e837 commit 55aaf85

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

hexrdgui/calibration/calibration_runner.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,13 @@ def validate(self):
8585
raise Exception('There are no refinable parameters')
8686

8787
def enable_focus_mode(self, b):
88-
HexrdConfig().enable_canvas_focus_mode.emit(b)
89-
HexrdConfig().enable_canvas_toolbar.emit(not b)
88+
# FIXME: We must avoid using focus mode until we can be sure
89+
# that this issue will not happen again: https://github.com/HEXRD/hexrdgui/issues/1556
90+
# We *cannot* allow the GUI to remain disabled after calibration.
91+
92+
# HexrdConfig().enable_canvas_focus_mode.emit(b)
93+
# HexrdConfig().enable_canvas_toolbar.emit(not b)
94+
pass
9095

9196
def clear_all_overlay_picks(self):
9297
for overlay in self.active_overlays:

0 commit comments

Comments
 (0)