Changeset a8e6394 in sasview for src/sas/qtgui/Utilities/GridPanel.py
- Timestamp:
- Dec 4, 2018 9:22:00 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
- Children:
- 2327399
- Parents:
- 11a336f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GridPanel.py
rc4c4957 ra8e6394 183 183 Open a local url in the default browser 184 184 """ 185 location = GuiUtils.HELP_DIRECTORY_LOCATION186 185 url = "/user/qtgui/Perspectives/Fitting/fitting_help.html#batch-fit-mode" 186 location = GuiUtils.HELP_DIRECTORY_LOCATION + url 187 if os.path.isdir(location) == False: 188 sas_path = os.path.abspath(os.path.dirname(sys.argv[0])) 189 location = sas_path + "/" + location 187 190 try: 188 webbrowser.open('file://' + os.path.realpath(location +url))191 webbrowser.open('file://' + os.path.realpath(location)) 189 192 except webbrowser.Error as ex: 190 193 logging.warning("Cannot display help. %s" % ex)
Note: See TracChangeset
for help on using the changeset viewer.