X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_StdHypothesisCreator.cxx;h=03df86b1191a23dd8bfc0722c5dd9f6a05f8f6d8;hb=1e6031e2335d9bde7215bff74ef4da81ca3dedd9;hp=bd505bee8d686e2bd03246f84e6357d292f6930c;hpb=680f0473eed897e5f33613a6eafd7ee6ea7bd9e5;p=modules%2Fsmesh.git 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 ); }