]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL21362 Max.Volume/Area Hypotheses counts incorrectly more then three-figure number...
authordmv <dmv@opencascade.com>
Wed, 9 Sep 2009 05:16:46 +0000 (05:16 +0000)
committerdmv <dmv@opencascade.com>
Wed, 9 Sep 2009 05:16:46 +0000 (05:16 +0000)
src/SalomeApp/SalomeApp_DoubleSpinBox.cxx

index 42cf9e48de5fcc704deb3696e4c31c62e461e277..dde722dcb23961a28f53c7e4142f1fcac19411cf 100644 (file)
@@ -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 )