From: enk Date: Fri, 5 May 2006 12:06:21 +0000 (+0000) Subject: Fix for Bug IPAL11055: X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3b19e7ce9fe0c1829af1c7d036329067f043aea4;p=modules%2Fsmesh.git Fix for Bug IPAL11055: It is impossible to input negative value as f(t) in table function. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx index ad3f2baff..fc4370378 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx @@ -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 ); }