Changeset 1719 for trunk/GSASIIctrls.py
- Timestamp:
- Mar 16, 2015 4:20:06 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIctrls.py
r1709 r1719 1486 1486 print 'id=',event.GetId() 1487 1487 elif helpType == 'OldTutorials': # this will go away 1488 self.frame.Tutorials = True1488 #self.frame.Tutorials = True 1489 1489 ShowHelp(helpType,self.frame) 1490 1490 elif helpType == 'Tutorials': 1491 1491 dlg = OpenTutorial(self.frame) 1492 if dlg.ShowModal() == wx.ID_OK: 1493 self.frame.Tutorials = True 1492 dlg.ShowModal() 1493 #if dlg.ShowModal() == wx.ID_OK: 1494 #self.frame.Tutorials = True 1494 1495 dlg.Destroy() 1495 1496 return … … 2151 2152 URL = os.path.join(tutorialPath,'help',tutdir,htmlname) 2152 2153 ShowWebPage(URL,self.frame) 2154 self.frame.ImportDir = os.path.join(tutorialPath,'Exercises',exedir) 2153 2155 elif self.BrowseMode == 1: 2154 2156 # xfer data locally, open web page remotely … … 2156 2158 URL = os.path.join(G2BaseURL,'Tutorials',tutdir,htmlname) 2157 2159 ShowWebPage(URL,self.frame) 2160 self.frame.ImportDir = os.path.join(tutorialPath,'Exercises',exedir) 2158 2161 elif self.BrowseMode == 2: 2159 2162 # open web page remotely, don't worry about data 2160 2163 URL = os.path.join(G2BaseURL,'Tutorials',tutdir,htmlname) 2161 2164 ShowWebPage(URL,self.frame) 2165 self.frame.ImportDir = os.path.join(tutorialPath,'Exercises',exedir) 2162 2166 elif self.BrowseMode == 3: 2163 2167 # open web page that has already been transferred
Note: See TracChangeset
for help on using the changeset viewer.