]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0020378: EDF 1042 SMESH : Spin Box Problem with changed locale
authordmv <dmv@opencascade.com>
Mon, 14 Sep 2009 08:51:00 +0000 (08:51 +0000)
committerdmv <dmv@opencascade.com>
Mon, 14 Sep 2009 08:51:00 +0000 (08:51 +0000)
src/SalomeApp/SalomeApp_DoubleSpinBox.cxx

index dde722dcb23961a28f53c7e4142f1fcac19411cf..559da72728dfd95253a7cc3a7c59778e5367f254 100644 (file)
@@ -244,7 +244,7 @@ void SalomeApp_DoubleSpinBox::setValue( const double value )
 {
   QtxDoubleSpinBox::setValue( value );
 
-  myCorrectValue = QString::number( value );
+  myCorrectValue = QtxDoubleSpinBox::textFromValue( value );
   myTextValue = myCorrectValue;
 }