From: eap Date: Mon, 27 Mar 2006 11:18:46 +0000 (+0000) Subject: correct the previous modification X-Git-Tag: T3_2_0b1_pre1~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1e6031e2335d9bde7215bff74ef4da81ca3dedd9;p=modules%2Fsmesh.git correct the previous modification --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx index bd505bee8..03df86b11 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx @@ -261,7 +261,7 @@ void StdMeshersGUI_StdHypothesisCreator::attuneStdWidget( QWidget* w, const int { sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 ); } - else // default validator for possible ancestors + else if ( sb ) // default validator for possible ancestors { sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 ); }