Changeset 2843


Ignore:
Timestamp:
May 30, 2017 7:22:13 AM (4 years ago)
Author:
vondreele
Message:

fix focus issues from lists of histograms in tree

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2842 r2843  
    27012701            wx.CallAfter(G2gd.SelectDataTreeItem,self,item)
    27022702            if self.oldFocus: # Why do this?
    2703                 self.oldFocus.SetFocus()
     2703                wx.CallAfter(self.oldFocus.SetFocus)
    27042704       
    27052705    def OnPatternTreeItemCollapsed(self, event):
  • trunk/GSASIIphsGUI.py

    r2842 r2843  
    61526152            G2frame.dataFrame.SendSizeEvent()
    61536153            G2plt.PlotStructure(G2frame,data)
    6154             oldFocus.SetFocus()
     6154            wx.CallAfter(oldFocus.SetFocus)
    61556155       
    61566156        # FillRigidBodyGrid executable code starts here
Note: See TracChangeset for help on using the changeset viewer.