]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Dump Python extension
authorouv <ouv@opencascade.com>
Tue, 18 Nov 2008 13:23:53 +0000 (13:23 +0000)
committerouv <ouv@opencascade.com>
Tue, 18 Nov 2008 13:23:53 +0000 (13:23 +0000)
src/SalomeApp/SalomeApp_DoubleSpinBox.cxx
src/SalomeApp/SalomeApp_IntSpinBox.cxx

index 16557cc3082c499b99e9e0d7f58a2abbacff3d5f..d6b45f77262daf4b478d207684d781ff60efc5c5 100644 (file)
@@ -239,6 +239,7 @@ void SalomeApp_DoubleSpinBox::setValue( const double value )
   QtxDoubleSpinBox::setValue( value );
 
   myCorrectValue = QString::number( value );
+  myTextValue = myCorrectValue;
 }
 
 /*!
index 57f7184ca8a5c6d0eb2d3ea915b6fb7c676cf70c..7ee3391d6f3f847a3f51a579231980133b2bf393 100644 (file)
@@ -195,6 +195,7 @@ void SalomeApp_IntSpinBox::setValue( const int value )
   QtxIntSpinBox::setValue( value );
 
   myCorrectValue = QString::number( value );
+  myTextValue = myCorrectValue;
 }
 
 /*!