Salome HOME
Issue #663: Don't hide "Activate" menu item in PartSet pop-up
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index beaff58bec82b883e76ae7bb0741b3584fa9e21e..2bc8d85d682d04865b9e815d9adbdced64400b2f 100644 (file)
@@ -56,11 +56,6 @@ Q_OBJECT
   virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
                             const bool theToValidate);
 
-  virtual bool restoreValue()
-  {
-    return true;
-  }
-
   /// Returns list of widget controls
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
@@ -107,6 +102,11 @@ protected:
     return true;
   }
 
+  virtual bool restoreValueCustom()
+  {
+    return true;
+  }
+
   /// The methiod called when widget is activated
   virtual void activateCustom();