Salome HOME
Issue #412: Crash on delete sketch line with constraints
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index e0b257ca4495790b6d0a872e9730af9b9bc451b4..385eabf3fc4dc9f7f0c5bf138c1ec4059cdd09f2 100644 (file)
@@ -73,6 +73,10 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge
   /// The methiod called when widget is deactivated
   virtual void deactivate();
 
+  /// Fills the attribute with the value of the selected owner
+  /// \param theOwner a selected owner
+  virtual bool setSelection(const Handle_SelectMgr_EntityOwner& theOwner);
+
  public slots:
   /// Slot is called on selection type changed
   void onSelectionTypeChanged();
@@ -102,10 +106,6 @@ protected slots:
   /// to backup, otherwise set the backed up values to the attribute
   virtual void backupAttributeValue(const bool isBackup);
 
-  /// Fills the attribute with the value of the selected owner
-  /// \param theOwner a selected owner
-  virtual void setSelection(const Handle_SelectMgr_EntityOwner& theOwner);
-
   /// Set current shape type for selection
   void setCurrentShapeType(const TopAbs_ShapeEnum theShapeType);