From: spo Date: Thu, 10 Sep 2015 07:11:17 +0000 (+0300) Subject: Issue #910 - Impossible to set start point , end points for line manually -- temporar... X-Git-Tag: V_1.4.0_beta4~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ed4a17283ab175d26749d6985801bc761087020;p=modules%2Fshaper.git Issue #910 - Impossible to set start point , end points for line manually -- temporary revert this function --- diff --git a/src/ModuleBase/ModuleBase_DoubleSpinBox.h b/src/ModuleBase/ModuleBase_DoubleSpinBox.h index 87cbe6e84..2daa53b95 100644 --- a/src/ModuleBase/ModuleBase_DoubleSpinBox.h +++ b/src/ModuleBase/ModuleBase_DoubleSpinBox.h @@ -21,7 +21,7 @@ class MODULEBASE_EXPORT ModuleBase_DoubleSpinBox : public QDoubleSpinBox Q_OBJECT public: - explicit ModuleBase_DoubleSpinBox( QWidget* theParent = 0, int thePrecision = -12 ); + explicit ModuleBase_DoubleSpinBox( QWidget* theParent = 0, int thePrecision = 12 ); virtual ~ModuleBase_DoubleSpinBox(); /// Returns true if the control is clear diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.h b/src/ModuleBase/ModuleBase_ParamSpinBox.h index 7d14e9511..89e99ff7c 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.h +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.h @@ -15,7 +15,7 @@ class MODULEBASE_EXPORT ModuleBase_ParamSpinBox : public ModuleBase_DoubleSpinBo enum State { Invalid = 0, NoVariable, Incompatible, Acceptable }; public: - explicit ModuleBase_ParamSpinBox( QWidget* theParent = 0, int thePrecision = -12 ); + explicit ModuleBase_ParamSpinBox( QWidget* theParent = 0, int thePrecision = 12 ); virtual ~ModuleBase_ParamSpinBox(); virtual void stepBy(int);