Changeset 4136 for trunk/GSASIIobj.py


Ignore:
Timestamp:
Sep 4, 2019 5:06:31 PM (2 years ago)
Author:
toby
Message:

fix cancel in refine dialog, tested w/wx2.8,3.0 & 4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIobj.py

    r4073 r4136  
    27642764
    27652765class G2Exception(Exception):
     2766    'A generic GSAS-II exception class'
    27662767    def __init__(self,msg):
    27672768        self.msg = msg
     
    27692770        return repr(self.msg)
    27702771
     2772class G2RefineCancel(Exception):
     2773    'Raised when Cancel is pressed in a refinement dialog'
     2774    def __init__(self,msg):
     2775        self.msg = msg
     2776    def __str__(self):
     2777        return repr(self.msg)
     2778   
    27712779def HowDidIgetHere(wherecalledonly=False):
    27722780    '''Show a traceback with calls that brought us to the current location.
Note: See TracChangeset for help on using the changeset viewer.