Changeset 1931
- Timestamp:
- Jul 16, 2015 2:27:12 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r1918 r1931 72 72 import GSASIIpwd as G2pwd 73 73 import GSASIIpwdGUI as G2pdG 74 import GSASIIphsGUI as G2phsG 74 75 import GSASIIspc as G2spc 75 76 import GSASIIstrMain as G2stMn … … 3550 3551 Id = item 3551 3552 item, cookie = self.PatternTree.GetNextChild(self.root, cookie) 3552 if Id:3553 self.PickIdText = None #force reload of PickId contents3554 self.PatternTree.SelectItem(Id)3555 3553 if parentName: 3556 3554 parentId = G2gd.GetPatternTreeItemId(self, self.root, parentName) … … 3561 3559 self.PatternTree.SelectItem(itemId) 3562 3560 if 'Phases' in parentName: 3561 data = self.PatternTree.GetItemPyData(itemId) 3562 data['Drawing']['Atoms'] = [] 3563 self.dataDisplay.SetSelection(4) #location of Drawing Data 3563 3564 self.dataDisplay.SetSelection(tabId) 3565 elif Id: 3566 self.PickIdText = None #force reload of PickId contents 3567 self.PatternTree.SelectItem(Id) 3568 3564 3569 finally: 3565 3570 dlg2.Destroy() -
trunk/GSASIIphsGUI.py
r1930 r1931 1640 1640 Error += 'Hydrogen atom not in atom list - ignored\n' 1641 1641 continue 1642 data['Drawing']['Atoms'] = [] 1643 UpdateDrawAtoms() 1642 1644 FillAtomsGrid(Atoms) 1643 1645 G2plt.PlotStructure(G2frame,data)
Note: See TracChangeset
for help on using the changeset viewer.