Skip to content

Commit

Permalink
Ensure overlay visibility checkbox is updated on state load
Browse files Browse the repository at this point in the history
Signed-off-by: Brianna Major <[email protected]>
  • Loading branch information
bnmajor committed Aug 2, 2023
1 parent ebbd675 commit 593765b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hexrd/ui/hexrd_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 593765b

Please sign in to comment.