Skip to content

Commit e11b4e3

Browse files
committed
turn off phase frac flag when hidden (#178)
1 parent 737a187 commit e11b4e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GSASII/GSASIIddataGUI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,9 @@ def OnFixVals(event):
971971

972972
if not UseList[G2frame.hist]['LeBail'] or 'HKLF' in G2frame.hist[:4]:
973973
bottomSizer.Add(ScaleSizer(),0,wx.BOTTOM,5)
974+
else:
975+
# if phase fraction/scale is hidden, turn off flag
976+
UseList[G2frame.hist]['Scale'][1] = False
974977

975978
if G2frame.hist[:4] == 'PWDR':
976979
if UseList[G2frame.hist]['Size'][0] == 'isotropic':

0 commit comments

Comments
 (0)