Changeset 2380


Ignore:
Timestamp:
Jul 28, 2016 12:38:47 PM (5 years ago)
Author:
vondreele
Message:

fix problem deleting peak from Peak List

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r2366 r2380  
    714714                        wg.GRIDTABLE_NOTIFY_ROWS_DELETED,0,nDel)
    715715                    G2frame.dataDisplay.ProcessTableMessage(msg)
    716                 data = G2frame.PeakTable.GetData()
    717                 G2frame.PatternTree.SetItemPyData(G2frame.PickId,data['peaks'][:-nDel])
     716                data['peaks'] = G2frame.PeakTable.GetData()[:-nDel]
     717                G2frame.PatternTree.SetItemPyData(G2frame.PickId,data)
    718718                G2frame.dataDisplay.ForceRefresh()
    719719                setBackgroundColors()
Note: See TracChangeset for help on using the changeset viewer.