@@ -4673,8 +4673,8 @@ def Paint(Scroll=0):
46734673 Atoms.SetCellStyle(row,ci,WHITE,False)
46744674 saveCSI = CSI[0][i]
46754675 Atoms.SetCellTextColour(row,ci,BLACK)
4676- if 'F' in rbExcl:
4677- Atoms.SetCellStyle(row,colF,VERY_LIGHT_GREY,True)
4676+ # if 'F' in rbExcl:
4677+ # Atoms.SetCellStyle(row,colF,VERY_LIGHT_GREY,True)
46784678 if 'X' in rbExcl:
46794679 for c in range(0,colX+3):
46804680 if c != colR:
@@ -14262,7 +14262,7 @@ def OnTorAngle(invalid,value,tc):
1426214262 recompute atom distances
1426314263 '''
1426414264 [tor,torSlide] = Indx[tc.GetId()]
14265- torSlide.SetValue (int(value*10))
14265+ torSlide.ChangeValue (int(value*10))
1426614266 UpdateTablePlot()
1426714267
1426814268 def OnTorSlide(event):
@@ -14274,7 +14274,7 @@ def OnTorSlide(event):
1427414274 Tors = data['testRBObj']['rbObj']['Torsions'][tor]
1427514275 val = float(Obj.GetValue())/10.
1427614276 Tors[0] = val
14277- ang.SetValue (val)
14277+ ang.ChangeValue (val)
1427814278 UpdateTablePlot()
1427914279
1428014280 def UpdateTable(event=None):
@@ -14310,7 +14310,7 @@ def OnAzSlide(event):
1431014310 rbObj['OrientVec'][0] = float(Obj.GetValue())/10.
1431114311 for i in range(4):
1431214312 val = rbObj['OrientVec'][i]
14313- G2frame.testRBObjSizers['OrientVecSiz'][i].SetValue (val)
14313+ G2frame.testRBObjSizers['OrientVecSiz'][i].ChangeValue (val)
1431414314 Q = G2mth.AVdeg2Q(rbObj['OrientVec'][0],
1431514315 np.inner(Amat,rbObj['OrientVec'][1:]))
1431614316 rbObj['Orient'][0] = Q
@@ -14327,7 +14327,7 @@ def UpdateOrientation(*args,**kwargs):
1432714327 np.inner(Amat,rbObj['OrientVec'][1:]))
1432814328 rbObj['Orient'][0] = Q
1432914329 try:
14330- G2frame.testRBObjSizers['OrientVecSiz'][4].SetValue (
14330+ G2frame.testRBObjSizers['OrientVecSiz'][4].ChangeValue (
1433114331 int(10*rbObj['OrientVec'][0]))
1433214332 except:
1433314333 pass
0 commit comments