Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 9d5de2117804e6e5f4bdbe4536ebe029e0774159..1189dd2286ce32c64c8699f6793b89a27fdb7246 100644 (file)
@@ -70,6 +70,9 @@ Q_OBJECT
   /// Returns sketcher plane
   std::shared_ptr<GeomAPI_Pln> plane() const;
 
+  /// This control accepts focus
+  virtual bool focusTo() { return true; }
+
 signals:
   /// Signal on plane selection
   void planeSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
@@ -77,7 +80,7 @@ signals:
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValue() const
+  virtual bool storeValueCustom() const
   {
     return true;
   }