From: eap Date: Mon, 19 Mar 2012 16:40:29 +0000 (+0000) Subject: 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH... X-Git-Tag: V6_5_0a1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1255ded98cbd71277dbb6c9d2a1fa66196a2fd3;p=modules%2Fsmesh.git 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module - if ( !varName.isEmpty() ) + if ( varName.isEmpty() ) --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx index 23b29070d..bdcfcf85c 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx @@ -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 );