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 );