Salome HOME
Merge from V6_main 11/02/2013
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI_DeflectionDlg.cxx
index 428c91c47a398332a3f129a4d517a8aac6242641..48cfb2b0b2640265edb1d5595e599102bd67f48c 100644 (file)
@@ -78,7 +78,7 @@ GEOMToolsGUI_DeflectionDlg::GEOMToolsGUI_DeflectionDlg (QWidget* parent)
   SpinBox->setAcceptNames( false );
   SpinBox->setPrecision( aPrecision );
   SpinBox->setDecimals( aPrecision );
-  SpinBox->setRange( DEFLECTION_MIN, 1.0 );
+  SpinBox->setRange( GEOM::minDeflection(), 1.0 );
   SpinBox->setSingleStep( 1.0e-04 );
   // Add a hint for the user saying how to tune precision
   QString userPropName = QObject::tr( QString( "GEOM_PREF_%1" ).arg( quantity ).toLatin1().constData() );