From 1e6031e2335d9bde7215bff74ef4da81ca3dedd9 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 27 Mar 2006 11:18:46 +0000 Subject: [PATCH] correct the previous modification --- src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2