Changeset ee22241 in sasview for src/sas/qtgui/MainWindow/GuiManager.py
- Timestamp:
- Sep 24, 2018 7:15:49 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 2dce1d8
- Parents:
- 712db9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
rdad086f ree22241 202 202 Open a local url in the default browser 203 203 """ 204 location = GuiUtils.HELP_DIRECTORY_LOCATION + url 205 #WP: Added to handle OSX bundle docs 206 if os.path.isdir(location) == False: 207 sas_path = os.path.abspath(os.path.dirname(sys.argv[0])) 208 location = sas_path+"/"+location 209 try: 210 webbrowser.open('file://' + os.path.realpath(location)) 211 except webbrowser.Error as ex: 212 logging.warning("Cannot display help. %s" % ex) 204 GuiUtils.showHelp(url) 213 205 214 206 def workspace(self):
Note: See TracChangeset
for help on using the changeset viewer.