From: dmv Date: Wed, 9 Sep 2009 05:16:46 +0000 (+0000) Subject: IPAL21362 Max.Volume/Area Hypotheses counts incorrectly more then three-figure number... X-Git-Tag: V5_1_3rc1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e21047a82d2427a926e3dbba9644a58505a55cf7;p=modules%2Fgui.git IPAL21362 Max.Volume/Area Hypotheses counts incorrectly more then three-figure number if use scroll arrow. --- diff --git a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx index 42cf9e48d..dde722dcb 100644 --- a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx +++ b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx @@ -267,8 +267,8 @@ SalomeApp_DoubleSpinBox::State SalomeApp_DoubleSpinBox::isValid( const QString& if( aSearchState == NotFound ) { bool ok = false; - value = text.toDouble( &ok ); - if( !ok ) + value = QLocale().toDouble( text, &ok ); + if ( !ok ) return NoVariable; } else if( aSearchState == IncorrectType )