Ignore:
Timestamp:
Nov 9, 2017 8:43:56 AM (6 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:
53c771e
Parents:
fbfc488
git-author:
Piotr Rozyczko <rozyczko@…> (11/07/17 08:29:59)
git-committer:
Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:56)
Message:

More Qt5 related fixes

File:
1 edited

Legend:

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

    r4992ff2 rd6b8a1d  
    88 
    99from sas.qtgui.Plotting.PlotterData import Data2D 
     10import sas.qtgui.Utilities.GuiUtils as GuiUtils 
    1011 
    1112# Local UI 
     
    6667 
    6768        # Let only floats in the range edits 
    68         self.txtMinRange.setValidator(QtGui.QDoubleValidator()) 
    69         self.txtMaxRange.setValidator(QtGui.QDoubleValidator()) 
     69        self.txtMinRange.setValidator(GuiUtils.DoubleValidator()) 
     70        self.txtMaxRange.setValidator(GuiUtils.DoubleValidator()) 
    7071        # Let only ints in the number of points edit 
    7172        self.txtNpts.setValidator(QtGui.QIntValidator()) 
Note: See TracChangeset for help on using the changeset viewer.