From: dmv Date: Mon, 14 Sep 2009 08:51:00 +0000 (+0000) Subject: 0020378: EDF 1042 SMESH : Spin Box Problem with changed locale X-Git-Tag: V5_1_3rc1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fab24bf79ddbded64ec19c9b85c4cef71efe7052;p=modules%2Fgui.git 0020378: EDF 1042 SMESH : Spin Box Problem with changed locale --- diff --git a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx index dde722dcb..559da7272 100644 --- a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx +++ b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx @@ -244,7 +244,7 @@ void SalomeApp_DoubleSpinBox::setValue( const double value ) { QtxDoubleSpinBox::setValue( value ); - myCorrectValue = QString::number( value ); + myCorrectValue = QtxDoubleSpinBox::textFromValue( value ); myTextValue = myCorrectValue; }