Changeset 1621


Ignore:
Timestamp:
Dec 30, 2014 12:50:34 PM (7 years ago)
Author:
vondreele
Message:

fix deleted powder pattern error

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1620 r1621  
    28502850                        self.PatternTree.Delete(item)
    28512851                    self.PickId = 0
     2852                    self.PatternId = 0
    28522853                    if nItems['PWDR']:
    28532854                        wx.CallAfter(G2plt.PlotPatterns,self,True)
  • trunk/GSASIIplot.py

    r1619 r1621  
    13541354    Lines = []
    13551355    exclLines = []
    1356     if G2frame.SinglePlot:
     1356    if G2frame.SinglePlot and PatternId:
    13571357        Pattern = G2frame.PatternTree.GetItemPyData(PatternId)
    13581358        Pattern.append(G2frame.PatternTree.GetItemText(PatternId))
Note: See TracChangeset for help on using the changeset viewer.