]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH...
authoreap <eap@opencascade.com>
Mon, 19 Mar 2012 16:40:29 +0000 (16:40 +0000)
committereap <eap@opencascade.com>
Mon, 19 Mar 2012 16:40:29 +0000 (16:40 +0000)
-  if ( !varName.isEmpty() )
+  if ( varName.isEmpty() )

src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx

index 23b29070dfb0ef729b0686b6ad4800a117b03eb5..bdcfcf85cb77365e9c703e6e183668c67c806b88 100644 (file)
@@ -633,7 +633,7 @@ void StdMeshersGUI_CartesianParamCreator::retrieveParams() const
     myName->setText( hypName() );
 
   QString varName = getVariableName( "SetSizeThreshold" );
-  if ( !varName.isEmpty() )
+  if ( varName.isEmpty() )
     myThreshold->setValue( h->GetSizeThreshold() );
   else
     myThreshold->setText( varName );