Changeset 3687


Ignore:
Timestamp:
Oct 22, 2018 9:48:49 AM (3 years ago)
Author:
vondreele
Message:

change a CallAfter? to CallLater? in in OnNewLayer? in the stacking fault stuff
set magcells = [] after a LoadUnitCell? - clears away old Bilbao result.
fix ToolTip? issue in G2elemGUI

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIElemGUI.py

    r3136 r3687  
    9595       
    9696        El.SetBackgroundColour(color)
    97         El.SetToolTipString(tip)
     97        El.SetToolTip(tip)
    9898
    9999    def OnElButton(self, event):
     
    284284        El.SetBackgroundColour(color)
    285285        El.SetLabel(name)
    286         El.SetToolTipString(tip)
     286        El.SetToolTip(tip)
    287287        El.Bind(wx.EVT_BUTTON, self.OnElButton)
    288288
  • trunk/GSASIIphsGUI.py

    r3686 r3687  
    41684168                Trans = [[[1.,0.,0.,0.,'',False],],]
    41694169            data['Layers']['Transitions'] = Trans
    4170             wx.CallAfter(UpdateLayerData)
     4170            wx.CallLater(100,UpdateLayerData)
    41714171           
    41724172        def OnDeleteLast(event):
  • trunk/GSASIIpwdGUI.py

    r3686 r3687  
    31243124    def LoadUnitCell(event):
    31253125        controls,bravais,cells,dminx,ssopt,magcells = G2frame.GPXtree.GetItemPyData(UnitCellsId)
     3126        magcells = []           #clear away old mag cells list (if any)
    31263127        controls = controls[:14]+[['0','0','0',' ',' ',' '],[],]
    31273128        data = controls,bravais,cells,dminx,ssopt,magcells
Note: See TracChangeset for help on using the changeset viewer.