Changes in / [e33fcd1:aea6bb7] in sasview


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

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/KiessigPanel.py

    rccdee50 r3e314e6  
    3030        self.deltaq_in.textChanged.connect(self.onCompute) 
    3131        self.deltaq_in.setText("0.05") 
    32  
    33         # Set focus away from Close 
    34         self.computeButton.setFocus() 
    3532 
    3633        # no reason to have this widget resizable 
  • src/sas/qtgui/Calculators/UI/KiessigPanel.ui

    rccdee50 r457d961  
    88    <y>0</y> 
    99    <width>365</width> 
    10     <height>197</height> 
     10    <height>193</height> 
    1111   </rect> 
    12   </property> 
    13   <property name="focusPolicy"> 
    14    <enum>Qt::TabFocus</enum> 
    1512  </property> 
    1613  <property name="windowTitle"> 
  • src/sas/qtgui/Utilities/GridPanel.py

    re03d56f ra8e6394  
    187187        """ 
    188188        url = "/user/qtgui/Perspectives/Fitting/fitting_help.html#batch-fit-mode" 
    189         GuiUtils.showHelp(url) 
    190  
     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) 
    191197 
    192198    def onPlot(self): 
Note: See TracChangeset for help on using the changeset viewer.