Changeset 2682


Ignore:
Timestamp:
Jan 31, 2017 4:33:29 PM (5 years ago)
Author:
toby
Message:

fix EditTable? bug

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2681 r2682  
    23422342            Should be called only when table is defined and active.
    23432343            '''
    2344             event.Skip()
     2344            dlg = None
    23452345            try:
    2346                 dlg = IntegParmTable(self.G2frame,self.ImgTblParms,self.IMfileList)
     2346                dlg = IntegParmTable(self,self.ImgTblParms,self.IMfileList)
    23472347                dlg.CenterOnParent()
    23482348                if dlg.ShowModal() == wx.ID_OK:
     
    23602360                    self.editTable.Enable(False)
    23612361            finally:
    2362                 dlg.Destroy()
     2362                if dlg: dlg.Destroy()
    23632363               
    23642364        def showPDFctrls(event):
  • trunk/GSASIIpath.py

    r2607 r2682  
    502502    import inspect
    503503    frame = inspect.getinnerframes(args[2])[-1][0]
    504     msg   = 'Entering IPython console at {0.f_code.co_filename} at line {0.f_lineno}'.format(frame)
     504    msg   = 'Entering IPython console at {0.f_code.co_filename} at line {0.f_lineno}\n'.format(frame)
    505505    savehook = sys.excepthook # save the exception hook
    506506    try:
Note: See TracChangeset for help on using the changeset viewer.