Changeset 1960 for trunk/GSASII.py


Ignore:
Timestamp:
Aug 25, 2015 12:53:42 PM (6 years ago)
Author:
toby
Message:

add current version number to Controls dict on save; display on read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1959 r1960  
    24392439    def CheckNotebook(self):
    24402440        '''Make sure the data tree has the minimally expected controls.
    2441         (BHT) correct?
    24422441        '''
    24432442        if not G2gd.GetPatternTreeItemId(self,self.root,'Notebook'):
     
    30573056        if self.GSASprojectfile:
    30583057            self.PatternTree.SetItemText(self.root,'Loaded Data: '+self.GSASprojectfile)
     3058            self.CheckNotebook()
    30593059            G2IO.ProjFileSave(self)
    30603060        else:
     
    30733073                self.PatternTree.SetItemText(self.root,'Saving project as'+self.GSASprojectfile)
    30743074                self.SetTitle("GSAS-II data tree: "+os.path.split(self.GSASprojectfile)[1])
     3075                self.CheckNotebook()
    30753076                G2IO.ProjFileSave(self)
    30763077                os.chdir(dlg.GetDirectory())           # to get Mac/Linux to change directory!
Note: See TracChangeset for help on using the changeset viewer.