Changeset e147ce2 in sasview


Ignore:
Timestamp:
Jan 10, 2018 5:35:50 AM (4 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
570e091
Parents:
d3c0b95
Message:

Minor fixes after rebasing ESS_GUI branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/MultiConstraint.py

    rd3c0b95 re147ce2  
    22Widget for parameter constraints. 
    33""" 
     4import os 
    45from numpy import * 
    56 
     
    78from PyQt5 import QtGui 
    89from PyQt5 import QtWidgets 
     10import webbrowser 
    911 
    1012import sas.qtgui.Utilities.GuiUtils as GuiUtils 
     
    128130        """ 
    129131        try: 
    130             location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
     132            help_location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
    131133            "/user/sasgui/perspectives/fitting/fitting_help.html#simultaneous-fits-with-constraints" 
    132  
    133             self.manager._helpView.load(QtCore.QUrl(location)) 
    134             self.manager._helpView.show() 
     134            webbrowser.open('file://' + os.path.realpath(help_location)) 
    135135        except AttributeError: 
    136136            # No manager defined - testing and standalone runs 
Note: See TracChangeset for help on using the changeset viewer.