Ignore:
Timestamp:
Nov 7, 2017 8:29:59 AM (7 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:
3e8dee3
Parents:
6280464
Message:

More Qt5 related fixes

File:
1 edited

Legend:

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

    r6280464 r412e069e  
    106106 
    107107        # double validator 
    108         self.txtSource2SampleDistance.setValidator(QtGui.QDoubleValidator()) 
    109         self.txtSample2DetectorDistance.setValidator(QtGui.QDoubleValidator()) 
    110         self.txtSampleOffset.setValidator(QtGui.QDoubleValidator()) 
     108        self.txtSource2SampleDistance.setValidator(GuiUtils.DoubleValidator()) 
     109        self.txtSample2DetectorDistance.setValidator(GuiUtils.DoubleValidator()) 
     110        self.txtSampleOffset.setValidator(GuiUtils.DoubleValidator()) 
    111111 
    112112        # call compute to calculate with default values 
Note: See TracChangeset for help on using the changeset viewer.