Changeset ccdee50 in sasview for src/sas


Ignore:
Timestamp:
Dec 7, 2018 4:46:34 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
e33fcd1
Parents:
e03d56f
git-author:
Piotr Rozyczko <piotr.rozyczko@…> (12/07/18 04:45:56)
git-committer:
Piotr Rozyczko <piotr.rozyczko@…> (12/07/18 04:46:34)
Message:

Set focus away from the Close button. SASVIEW-1161

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

Legend:

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

    r3e314e6 rccdee50  
    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() 
    3235 
    3336        # no reason to have this widget resizable 
  • src/sas/qtgui/Calculators/UI/KiessigPanel.ui

    r457d961 rccdee50  
    88    <y>0</y> 
    99    <width>365</width> 
    10     <height>193</height> 
     10    <height>197</height> 
    1111   </rect> 
     12  </property> 
     13  <property name="focusPolicy"> 
     14   <enum>Qt::TabFocus</enum> 
    1215  </property> 
    1316  <property name="windowTitle"> 
Note: See TracChangeset for help on using the changeset viewer.