Salome HOME
Issue #2352 - Undo list is disabled when change focus from multi-selection to ordinar...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index 2ea07f58e73b52ae27a88cc8d079036e572a1093..f4a155981fc69e822da0d61539aa1b1a0d79eebf 100755 (executable)
@@ -75,6 +75,12 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge
   /// The methiod called when widget is deactivated
   virtual void deactivate();
 
+  /// Update Undo/Redo actions state
+  virtual void updateAfterDeactivation();
+
+  /// Update Undo/Redo actions state
+  virtual void updateAfterActivation();
+
   /// Set the given wrapped value to the current widget
   /// This value should be processed in the widget according to the needs
   /// \param theValues the wrapped selection values
@@ -95,9 +101,6 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge
   virtual bool processAction(ModuleBase_ActionType theActionType,
                              const ActionParamPtr& theParam = ActionParamPtr());
 
-  /// Activate or deactivate selection and selection filters
-  virtual void updateSelectionModesAndFilters(bool toActivate);
-
   /// Checks the widget validity. By default, it returns true.
   /// \param thePrs a selected presentation in the view
   /// \return a boolean value