Ignore:
Timestamp:
Jul 7, 2017 3:17:52 PM (4 years ago)
Author:
toby
Message:

fix Add Peaks, etc.; document use of dataWindow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIpwdGUI.py

    r2915 r2916  
    866866    for key in T: X.append(D[key])
    867867    data['peaks'] = X
     868    G2frame.dataWindow.ClearData()
    868869    G2frame.GPXtree.SetItemPyData(G2frame.PickId,data)
    869870    G2frame.PeakTable = G2G.Table(data['peaks'],rowLabels=rowLabels,colLabels=colLabels,types=Types)
     
    885886    mainSizer = G2frame.dataWindow.GetSizer()
    886887    mainSizer.Add(reflGrid,1,wx.ALL|wx.EXPAND,1)
     888    G2frame.dataWindow.SetDataSize()
    887889
    888890################################################################################
Note: See TracChangeset for help on using the changeset viewer.