From 593765b86075813d36932eef3e4b1c7c5f3e9aca Mon Sep 17 00:00:00 2001 From: Brianna Major Date: Wed, 2 Aug 2023 14:03:49 -0400 Subject: [PATCH] Ensure overlay visibility checkbox is updated on state load Signed-off-by: Brianna Major --- hexrd/ui/hexrd_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hexrd/ui/hexrd_config.py b/hexrd/ui/hexrd_config.py index 381797aee..33ea80a23 100644 --- a/hexrd/ui/hexrd_config.py +++ b/hexrd/ui/hexrd_config.py @@ -964,6 +964,7 @@ def read_file(f): self.config['materials']['show_overlays'] = False self.update_visible_material_energies() self.config['materials']['show_overlays'] = prev + self.overlay_config_changed.emit() if not import_raw: self.instrument_config_loaded.emit()