]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_ModelWidget.h
Salome HOME
Bugfix: treat attribute as valid and initialized if it's default value is equual...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index 2d626c58b371e7531368b5be8e7449030b2cce35..bc520ffb35742870864471055bb738fa7db0c767 100644 (file)
@@ -67,13 +67,6 @@ Q_OBJECT
   /// \return a control list
   virtual QList<QWidget*> getControls() const = 0;
 
-  /// Returns whether the control has a default value
-  /// \return a boolean value
-  bool hasDefaultValue() const
-  {
-    return myHasDefaultValue;
-  }
-
   /// Returns the attribute name
   /// \returns the string value
   std::string attributeID() const
@@ -118,8 +111,6 @@ signals:
 
   void updateObject(ObjectPtr theObj) const;
 
-  bool myHasDefaultValue;  /// the boolean state whether the control has a default value
-
   std::string myAttributeID;  /// the attribute name of the model feature
   std::string myParentId;    /// name of parent
   FeaturePtr myFeature;