Changeset 2841
- Timestamp:
- May 29, 2017 9:08:41 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r2840 r2841 797 797 oldFocus = wx.Window.FindFocus() 798 798 G2plt.PlotSizeStrainPO(G2frame,data,G2frame.hist) 799 oldFocus.SetFocus()800 799 wx.CallLater(100,RepaintHistogramInfo) 800 wx.CallAfter(oldFocus.SetFocus) 801 801 802 802 def RepaintHistogramInfo(Scroll=0): -
trunk/GSASIIphsGUI.py
r2840 r2841 6138 6138 rbObj = data['RBModels']['Residue'][rbId] 6139 6139 data['Drawing']['viewPoint'][0] = rbObj['Orig'][0] 6140 data['Drawing']['Quaternion'] = rbObj['Orient'][0] 6140 6141 G2frame.bottomSizer = ResrbSizer(rbObj) 6141 6142 mainSizer.Add(G2frame.bottomSizer) … … 6145 6146 RigidBodies.Scroll(0,Scroll) 6146 6147 G2frame.dataFrame.SendSizeEvent() 6147 wx.CallAfter(G2plt.PlotStructure,G2frame,data)6148 G2plt.PlotStructure(G2frame,data) 6148 6149 oldFocus.SetFocus() 6149 6150 … … 6181 6182 rbObj = data['RBModels']['Residue'][0] 6182 6183 data['Drawing']['viewPoint'][0] = rbObj['Orig'][0] 6184 data['Drawing']['Quaternion'] = rbObj['Orient'][0] 6183 6185 select = wx.ListBox(RigidBodies,choices=RBnames,style=wx.LB_SINGLE,size=(-1,120)) 6184 6186 select.SetSelection(RBnames.index(rbName)) … … 6190 6192 mainSizer.Add(G2frame.bottomSizer) 6191 6193 G2frame.dataFrame.SetStatusText('NB: Rotation vector is in crystallographic space') 6192 wx.CallAfter(G2plt.PlotStructure,G2frame,data)6194 G2plt.PlotStructure(G2frame,data) 6193 6195 if 'Vector' in data['RBModels'] and len(data['RBModels']['Vector']): 6194 6196 mainSizer.Add((5,5),0)
Note: See TracChangeset
for help on using the changeset viewer.