Changeset 2665 for trunk/GSASIIphsGUI.py
- Timestamp:
- Jan 27, 2017 1:36:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r2662 r2665 2218 2218 El = dlg.Elem.strip() 2219 2219 for r in indx: 2220 if not Atoms.IsReadOnly(r, cid):2220 if not Atoms.IsReadOnly(r,0): #not if in RB! 2221 2221 atomData[r][cid] = El 2222 2222 if len(El) in [2,4]: … … 2238 2238 if result == wx.ID_YES: 2239 2239 for r in indx: 2240 if not Atoms.IsReadOnly(r, cid+1):2240 if not Atoms.IsReadOnly(r,0): #not if in RB! 2241 2241 El = atomData[r][cid+1] 2242 2242 if len(El) in [2,4]: … … 2255 2255 parm = choices[sel][0] 2256 2256 for r in indx: 2257 if not Atoms.IsReadOnly(r, cid):2257 if not Atoms.IsReadOnly(r,0): #not if in RB! 2258 2258 atomData[r][cid] = parm 2259 2259 FillAtomsGrid(Atoms) … … 2269 2269 parm = dlg.GetValue() 2270 2270 for r in indx: 2271 if not Atoms.IsReadOnly(r, cid):2271 if not Atoms.IsReadOnly(r,0): #not if in RB! 2272 2272 atomData[r][cid] = parm 2273 2273 SetupGeneral() … … 2281 2281 parm = dlg.GetValue() 2282 2282 for r in indx: 2283 if not Atoms.IsReadOnly(r, cid):2283 if not Atoms.IsReadOnly(r,0): #not if in RB! 2284 2284 atomData[r][cid] += parm 2285 2285 SetupGeneral() … … 2293 2293 parm = dlg.GetValue() 2294 2294 for r in indx: 2295 if not Atoms.IsReadOnly(r, cid):2295 if not Atoms.IsReadOnly(r,0): #not if in RB! 2296 2296 atomData[r][cid] = parm 2297 2297 SetupGeneral()
Note: See TracChangeset
for help on using the changeset viewer.