Changeset e03d56f in sasview for src/sas


Ignore:
Timestamp:
Dec 6, 2018 6:59:53 AM (5 years ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
ccdee50
Parents:
bf7f025
Message:

Fixing Batch Fitting help in simpler way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/GridPanel.py

    r2327399 re03d56f  
    187187        """ 
    188188        url = "/user/qtgui/Perspectives/Fitting/fitting_help.html#batch-fit-mode" 
    189         location = GuiUtils.HELP_DIRECTORY_LOCATION + url 
    190         if os.path.isdir(location) == False: 
    191             sas_path = os.path.abspath(os.path.dirname(sys.argv[0])) 
    192             location = sas_path + "/" + location 
    193         try: 
    194             webbrowser.open('file://' + os.path.realpath(location)) 
    195         except webbrowser.Error as ex: 
    196             logging.warning("Cannot display help. %s" % ex) 
     189        GuiUtils.showHelp(url) 
     190 
    197191 
    198192    def onPlot(self): 
Note: See TracChangeset for help on using the changeset viewer.