Ignore:
Timestamp:
May 17, 2021 9:16:53 PM (5 months ago)
Author:
toby
Message:

fix delete for general; flag constraints where vars are removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIrestrGUI.py

    r4865 r4905  
    18991899            '''Delete a restraint expression'''
    19001900            n = event.GetEventObject().index
    1901             G2frame.GetStatusBar().SetStatusText('',1)
    1902             if not n:
    1903                 G2frame.GetStatusBar().SetStatusText('First select restraints to be deleted',1)
    1904                 return
     1901            del restrData['General']['General'][n]
    19051902            wx.CallAfter(UpdateGeneralRestr,restrData['General'])
    19061903           
Note: See TracChangeset for help on using the changeset viewer.