]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix for small regression: inserting/removing of rows doesn't work
authorasl <asl@opencascade.com>
Fri, 30 Dec 2005 12:31:09 +0000 (12:31 +0000)
committerasl <asl@opencascade.com>
Fri, 30 Dec 2005 12:31:09 +0000 (12:31 +0000)
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx

index 728042c6594b9172de77751894790c1d88d9e7f5..f190fb2cadf89be7b3b8fc888e2eb8a341622bfc 100644 (file)
@@ -318,7 +318,7 @@ void StdMeshersGUI_NbSegmentsCreator::onValueChanged()
   else if( distr==3 )
     myCutNeg->setText( tr( "SMESH_CUT_NEG_MODE" ) );*/
 
-  if( distr==2 ) //table func
+  if( distr==2 && sender()==myConv ) //table func
   {
     myTable->table()->funcValidator()->setBottom( myConv->id( myConv->selected() )==0 ? -1E20 : 0 );
     SMESH::double_array arr;