]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
ease the life of possible ancestors
authoreap <eap@opencascade.com>
Fri, 24 Mar 2006 11:59:10 +0000 (11:59 +0000)
committereap <eap@opencascade.com>
Fri, 24 Mar 2006 11:59:10 +0000 (11:59 +0000)
src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx
src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h

index 33abb069897bd290f7f5810b5814199a8e352e07..bd505bee8d686e2bd03246f84e6357d292f6930c 100644 (file)
@@ -261,6 +261,10 @@ void StdMeshersGUI_StdHypothesisCreator::attuneStdWidget( QWidget* w, const int
   {
     sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 );
   }
+  else // default validator for possible ancestors
+  {
+    sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, 6 );
+  }
 }
 
 QString StdMeshersGUI_StdHypothesisCreator::caption() const
index 216324cabca54d45b82164a137f95109e74aa182..bc87917b4460026a2bb88c805c46661adb76e14a 100644 (file)
@@ -55,8 +55,7 @@ protected:
   virtual QWidget* getCustomWidget( const StdParam&, QWidget* ) const;
   virtual bool     getParamFromCustomWidget( StdParam& , QWidget* ) const;
 
-private:
-          QString hypTypeName( const QString& ) const;
+  virtual QString hypTypeName( const QString& ) const;
 };
 
 #endif