Changeset 1282 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 18, 2014 10:22:29 AM (8 years ago)
Author:
toby
Message:

sequential refinement updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1276 r1282  
    31403140        Called from the Calculate/Refine menu.
    31413141        '''       
     3142        Id = G2gd.GetPatternTreeItemId(self,self.root,'Sequential results')
     3143        if Id:
     3144            dlg = wx.MessageDialog(
     3145                self,
     3146                'Your last refinement was sequential. Continue with "Refine", removing previous sequential results?',
     3147                'Remove sequential results?',wx.OK|wx.CANCEL)
     3148            if dlg.ShowModal() == wx.ID_OK:
     3149                self.PatternTree.Delete(Id)
     3150                dlg.Destroy()
     3151            else:
     3152                dlg.Destroy()
     3153                return
     3154
    31423155        self.OnFileSave(event)
    31433156        # check that constraints are OK here
Note: See TracChangeset for help on using the changeset viewer.