Changeset 2617


Ignore:
Timestamp:
Jan 9, 2017 5:27:46 AM (5 years ago)
Author:
toby
Message:

fix update problem from dataframe menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r2610 r2617  
    31793179        '''Check if the GSAS-II repository has an update for the current source files
    31803180        and perform that update if requested.
    3181         '''
     3181        '''           
    31823182        if not GSASIIpath.whichsvn():
    31833183            dlg = wx.MessageDialog(self.frame,
     
    32603260            return
    32613261        dlg.Destroy()
    3262         self.frame.OnFileSave(event)
     3262        try:
     3263            self.frame.OnFileSave(event)
     3264        except AttributeError:
     3265            self.frame.G2frame.OnFileSave(event)
    32633266        GSASIIpath.svnUpdateProcess(projectfile=self.frame.GSASprojectfile)
    32643267        return
     
    33223325            version=str(ver)
    33233326            )
    3324         self.frame.OnFileSave(event)
     3327        try:
     3328            self.frame.OnFileSave(event)
     3329        except AttributeError:
     3330            self.frame.G2frame.OnFileSave(event)
    33253331        return
    33263332
Note: See TracChangeset for help on using the changeset viewer.