Salome HOME
Issue #216: fixed the problem with loading part and activating by double click
[modules/shaper.git] / src / Model / Model_Session.h
index e691cea306f281d799c829a38cb0f3e35f9de2c4..fd4f9c0b5ac3e35a1800082dbba8b67bf2036521 100644 (file)
@@ -73,7 +73,8 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
   MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_Document> activeDocument();
 
   /// Defines the current document that used for current work in the application
-  MODEL_EXPORT virtual void setActiveDocument(boost::shared_ptr<ModelAPI_Document> theDoc);
+  MODEL_EXPORT virtual void setActiveDocument(
+    boost::shared_ptr<ModelAPI_Document> theDoc, bool theSendSignal = true);
 
   /// Returns all the opened documents of the session (without postponed)
   MODEL_EXPORT virtual std::list<boost::shared_ptr<ModelAPI_Document> > allOpenedDocuments();