]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for Bug IPAL11055:
authorenk <enk@opencascade.com>
Fri, 5 May 2006 12:06:21 +0000 (12:06 +0000)
committerenk <enk@opencascade.com>
Fri, 5 May 2006 12:06:21 +0000 (12:06 +0000)
It is impossible to input negative value as f(t) in table function.

src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx

index ad3f2baff2bdc0f97fe41bcef1c6b1af847bb8e2..fc4370378d2b50679eae50b7e88207fcc1ac35d7 100644 (file)
@@ -192,6 +192,7 @@ void StdMeshersGUI_NbSegmentsCreator::retrieveParams() const
   myDistr->setCurrentItem( data.myDistrType );
   myScale->setValue( data.myScale );
   myConv->setButton( data.myConv );
+  myTable->table()->funcValidator()->setBottom(myConv->id( myConv->selected() )==0 ? -1E20 : 0);
   myTable->table()->setData( data.myTable );
   myExpr->setText( data.myExpr );
 }