Changeset 3175 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Dec 6, 2017 9:19:46 AM (4 years ago)
Author:
vondreele
Message:

correct plotting errors in PlotPeakWidths?, add cursor report of position & update plot after inst parm changes to profile shape.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3173 r3175  
    16781678        updateData(insVal,insRef)
    16791679       
     1680    def NewProfile(invalid,value,tc):
     1681        if invalid: return
     1682        updateData(insVal,insRef)
     1683        G2plt.PlotPeakWidths(G2frame)
     1684       
    16801685    def OnItemRef(event):
    16811686        Obj = event.GetEventObject()
     
    18041809                    refFlgElem.append([item,2])
    18051810                    instSizer.Add(wx.StaticText(G2frame.dataWindow,-1,lblWdef(item,nDig[1],insDef[item])),0,WACV)
    1806                     itemVal = G2G.ValidatedTxtCtrl(G2frame.dataWindow,insVal,item,nDig=nDig,typeHint=float,OnLeave=AfterChange)
     1811                    itemVal = G2G.ValidatedTxtCtrl(G2frame.dataWindow,insVal,item,nDig=nDig,typeHint=float,OnLeave=NewProfile)
    18071812                    instSizer.Add(itemVal,0,WACV)
    18081813                    instSizer.Add(RefineBox(item),0,WACV)
Note: See TracChangeset for help on using the changeset viewer.