Changeset 3914 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Apr 22, 2019 1:24:08 PM (3 years ago)
Author:
vondreele
Message:

change OnComputePDF argument from None to tc.event in SampleSizer? - forces recalculate of PDF & new plot.
save modelView in drawingData

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r3906 r3914  
    65516551                data['Form Vol'] = max(10.0,SumElementVolumes())
    65526552                wx.CallAfter(UpdatePDFGrid,G2frame,data)
    6553                 wx.CallAfter(OnComputePDF,None)
     6553                wx.CallAfter(OnComputePDF,tc.event)
    65546554                   
    65556555            elemSizer.Add(wx.StaticText(parent=G2frame.dataWindow,
     
    65656565            if invalid: return
    65666566            wx.CallAfter(UpdatePDFGrid,G2frame,data)
    6567             wx.CallAfter(OnComputePDF,None)
     6567            wx.CallAfter(OnComputePDF,tc.event)
    65686568       
    65696569        def OnGeometry(event):
     
    65716571            wx.CallAfter(UpdatePDFGrid,G2frame,data)
    65726572            #UpdatePDFGrid(G2frame,data)
    6573             wx.CallAfter(OnComputePDF,None)
     6573            wx.CallAfter(OnComputePDF,tc.event)
    65746574       
    65756575        sampleSizer = wx.BoxSizer(wx.VERTICAL)
Note: See TracChangeset for help on using the changeset viewer.