Changeset 2674 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Jan 30, 2017 2:25:48 PM (5 years ago)
Author:
vondreele
Message:

prevent delete if PWDR if corresponding PDF exists
use PickElements? instead of PickElement? - allows multiple selection, blacks out ones already picked & can unpick a pick
add delete spots option to masks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2660 r2674  
    9999
    100100[ wxID_MASKCOPY, wxID_MASKSAVE, wxID_MASKLOAD, wxID_NEWMASKSPOT,wxID_NEWMASKARC,wxID_NEWMASKRING,
    101     wxID_NEWMASKFRAME, wxID_NEWMASKPOLY,wxID_MASKLOADNOT,wxID_FINDSPOTS,
    102 ] = [wx.NewId() for item in range(10)]
     101    wxID_NEWMASKFRAME, wxID_NEWMASKPOLY,wxID_MASKLOADNOT,wxID_FINDSPOTS,wxID_DELETESPOTS
     102] = [wx.NewId() for item in range(11)]
    103103
    104104[ wxID_STRSTACOPY, wxID_STRSTAFIT, wxID_STRSTASAVE, wxID_STRSTALOAD,wxID_STRSTSAMPLE,
     
    21212121        self.MaskEdit.Append(help='Auto search for spot masks; NB: will clear old spot masks',
    21222122            id=wxID_FINDSPOTS, kind=wx.ITEM_NORMAL,text='Auto spot masks')
     2123        self.MaskEdit.Append(help='Delete all spot masks',
     2124            id=wxID_DELETESPOTS, kind=wx.ITEM_NORMAL,text='Delete spot masks')       
    21232125        submenu.Append(help='Create an arc mask with mouse input',
    21242126            id=wxID_NEWMASKARC, kind=wx.ITEM_NORMAL,text='Arc mask')
Note: See TracChangeset for help on using the changeset viewer.