Changeset 1541


Ignore:
Timestamp:
Oct 26, 2014 1:23:38 PM (7 years ago)
Author:
toby
Message:

wx bug changing background terms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1537 r1541  
    817817                for i in range(N,M):
    818818                    del(data[1]['debyeTerms'][-1])
    819             wx.CallAfter(UpdateBackground,G2frame,data)
    820            
     819            #wx.CallAfter(UpdateBackground,G2frame,data)
     820            wx.CallLater(100,UpdateBackground,G2frame,data)
     821
    821822        def KeyEditPeakGrid(event):
    822823            colList = debyeGrid.GetSelectedCols()
     
    876877                for i in range(N,M):
    877878                    del(data[1]['peaksList'][-1])
    878             wx.CallAfter(UpdateBackground,G2frame,data)
     879            #wx.CallAfter(UpdateBackground,G2frame,data)
     880            wx.CallLater(100,UpdateBackground,G2frame,data)
    879881           
    880882        def KeyEditPeakGrid(event):
Note: See TracChangeset for help on using the changeset viewer.