Changeset 456 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 24, 2012 2:31:27 PM (10 years ago)
Author:
toby
Message:

determine path to GSAS files from file; trap & reset focus for tree traversal with arrow keys; move wxinspector to after app creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r453 r456  
    164164        POSITION_OF_CONFIGURE_SUBPLOTS_BTN = 6
    165165        self.DeleteToolByPos(POSITION_OF_CONFIGURE_SUBPLOTS_BTN)
    166         help = os.path.join(os.path.split(sys.argv[0])[0],'help.ico')
     166        help = os.path.join(os.path.split(__file__)[0],'help.ico')
    167167        self.AddSimpleTool(self.ON_MPL_HELP,_load_bitmap(help),'Help on','Show help on')
    168168        wx.EVT_TOOL(self,self.ON_MPL_HELP,self.OnHelp)
     
    747747        Page.canvas.draw()
    748748    self.Pwdr = True
    749     if self.oldFocus:
    750         self.SetFocus()
    751749   
    752750def PlotISFG(self,newPlot=False,type=''):
Note: See TracChangeset for help on using the changeset viewer.