Changes in / [0989bad:2327399] in sasview


Ignore:
Location:
src/sas/qtgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py

    r6ae7466 r11a336f  
    348348                extrapolated_data.name = title 
    349349                extrapolated_data.title = title 
    350                 extrapolated_data.style = "Line" 
     350                extrapolated_data.symbol = "Line" 
    351351                extrapolated_data.has_errors = False 
    352                 extrapolated_data.plot_role = Data1D.ROLE_DEFAULT 
    353352 
    354353                # copy labels and units of axes for plotting 
     
    382381                high_out_data.name = title 
    383382                high_out_data.title = title 
    384                 high_out_data.style = "Line" 
     383                high_out_data.symbol = "Line" 
    385384                high_out_data.has_errors = False 
    386                 high_out_data.plot_role = Data1D.ROLE_DEFAULT 
    387385 
    388386                # copy labels and units of axes for plotting 
  • src/sas/qtgui/Utilities/GridPanel.py

    r99f8760 ra8e6394  
    186186        Open a local url in the default browser 
    187187        """ 
    188         location = GuiUtils.HELP_DIRECTORY_LOCATION 
    189188        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 
    190193        try: 
    191             webbrowser.open('file://' + os.path.realpath(location+url)) 
     194            webbrowser.open('file://' + os.path.realpath(location)) 
    192195        except webbrowser.Error as ex: 
    193196            logging.warning("Cannot display help. %s" % ex) 
Note: See TracChangeset for help on using the changeset viewer.