]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
correct the previous modification
authoreap <eap@opencascade.com>
Mon, 27 Mar 2006 11:18:46 +0000 (11:18 +0000)
committereap <eap@opencascade.com>
Mon, 27 Mar 2006 11:18:46 +0000 (11:18 +0000)
src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx

index bd505bee8d686e2bd03246f84e6357d292f6930c..03df86b1191a23dd8bfc0722c5dd9f6a05f8f6d8 100644 (file)
@@ -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 );
   }