We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4d0e0 commit cfbef6aCopy full SHA for cfbef6a
hexrdgui/hexrd_config.py
@@ -560,6 +560,15 @@ def load_from_state(self, state):
560
# We loaded a state with the old statuses. Remove them.
561
self.remove_status(self.config['instrument'])
562
563
+ # Never allow WPPF difference curve to be set `True` from state
564
+ disable_wppf_difference = (
565
+ state.get('config_calibration',
566
+ {}).get('wppf',
567
+ {}).get('show_difference_axis')
568
+ )
569
+ if disable_wppf_difference:
570
+ state['config_calibration']['wppf']['show_difference_axis'] = False
571
+
572
# Now load everything else
573
try:
574
for name, value in state.items():
0 commit comments