Ignore:
Timestamp:
Feb 20, 2019 8:59:13 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
390494d
Parents:
d1b525b
Message:

Modified the open tutorial action - it now opens a webpage with tutorial
links. Just like in 4.2. SASVIEW-1255.
Also, modified copyright year in yet another place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/GuiManager.py

    r33c0561 r091eee64  
    10191019    def actionTutorial(self): 
    10201020        """ 
    1021         Open the tutorial PDF file with default PDF renderer 
    1022         """ 
    1023         # Not terribly safe here. Shell injection warning. 
    1024         # isfile() helps but this probably needs a better solution. 
    1025         if os.path.isfile(self._tutorialLocation): 
    1026             result = subprocess.Popen([self._tutorialLocation], shell=True) 
     1021        Open the page with tutorial PDF links 
     1022        """ 
     1023        helpfile = "/user/tutorial.html" 
     1024        self.showHelp(helpfile) 
    10271025 
    10281026    def actionAcknowledge(self): 
Note: See TracChangeset for help on using the changeset viewer.