X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_NbSegmentsCreator.cxx;fp=src%2FStdMeshersGUI%2FStdMeshersGUI_NbSegmentsCreator.cxx;h=4283d4760f7cc6941092174c8cd251c38a4ef688;hb=44a2277a1a9b53dd1ca7cec27fab991882212c00;hp=2ee5473af34992aee5ac4cc34109832b0a7490d9;hpb=6d66c9caa86eca3fd9a3131fef75630408f13876;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx index 2ee5473af..4283d4760 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx @@ -80,17 +80,17 @@ StdMeshersGUI_NbSegmentsCreator::~StdMeshersGUI_NbSegmentsCreator() { } -bool StdMeshersGUI_NbSegmentsCreator::checkParams( QString& msg ) const +bool StdMeshersGUI_NbSegmentsCreator::checkParams( QString& msg, QStringList& absentParams ) const { - if( !SMESHGUI_GenericHypothesisCreator::checkParams( msg ) ) + if( !SMESHGUI_GenericHypothesisCreator::checkParams( msg, absentParams ) ) return false; NbSegmentsHypothesisData data_old, data_new; readParamsFromHypo( data_old ); readParamsFromWidgets( data_new ); bool res = storeParamsToHypo( data_new ); storeParamsToHypo( data_old ); - res = myNbSeg->isValid( msg, true ) && res; - res = myScale->isValid( msg, true ) && res; + res = myNbSeg->isValid( msg, absentParams, true ) && res; + res = myScale->isValid( msg, absentParams, true ) && res; return res; }