From fab24bf79ddbded64ec19c9b85c4cef71efe7052 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 14 Sep 2009 08:51:00 +0000 Subject: [PATCH] 0020378: EDF 1042 SMESH : Spin Box Problem with changed locale --- src/SalomeApp/SalomeApp_DoubleSpinBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2