Changeset 2608


Ignore:
Timestamp:
Jan 1, 2017 5:51:18 PM (5 years ago)
Author:
toby
Message:

minor fix for help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r2607 r2608  
    31103110        unless a special help key value has been defined for this menu id in
    31113111        self.HelpById
    3112         '''
     3112
     3113        Note that self may be child of the main window (G2frame) or of the dataFrame
     3114        '''
     3115        if hasattr(self.frame,'dataFrame'):  # find the dataFrame
     3116            dataFrame = self.frame.dataFrame
     3117        else:
     3118            dataFrame = self.frame
     3119           
    31133120        try:
    3114             helpKey = self.frame.helpKey # BHT: look up help from helpKey in data window
     3121            helpKey = dataFrame.helpKey # BHT: look up help from helpKey in data window
    31153122            #if GSASIIpath.GetConfigValue('debug'): print 'dataFrame help: key=',helpKey
    31163123        except AttributeError:
Note: See TracChangeset for help on using the changeset viewer.