Salome HOME
Use activation only for objects which are not result of a current operation
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index cf35c008302d2284daa9baae23e467d37da95e93..29cf7482a91e49acb0ab4160a0b496d8adf64b49 100644 (file)
@@ -169,7 +169,8 @@ class XGUI_EXPORT XGUI_Displayer: public QObject
 
   /// Activates in local context displayed outside of the context.
   /// \param theModes - modes on which it has to be activated (can be empty)
-  void activateObjects(const QIntList& theModes);
+  /// \param theObjList - list of objects which has to be activated. Can be empty. In this case all displayed objects will be used.
+  void activateObjects(const QIntList& theModes, const QObjectPtrList& theObjList = QObjectPtrList());
 
   /// Activates in local context displayed outside of the context.
   void deactivateObjects();