]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #172: Exclude ActivateLastPart call
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 30 Sep 2014 06:04:40 +0000 (10:04 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 30 Sep 2014 06:04:40 +0000 (10:04 +0400)
src/XGUI/XGUI_Workshop.cpp

index d36f3f6de5e4f35ced929d47535c22390da8f60e..8c76c2fd11cf18d84788e79300b9b76ea9b50242 100644 (file)
@@ -466,9 +466,9 @@ void XGUI_Workshop::onFeatureCreatedMsg(const boost::shared_ptr<ModelAPI_ObjectU
     myObjectBrowser->processEvent(theMsg);
   if (isDisplayed)
     myDisplayer->updateViewer();
-  if (aHasPart) {
-    activateLastPart();
-  }
+  //if (aHasPart) { // TODO: Avoid activate last part on loading of document
+  //  activateLastPart();
+  //}
 }
 
 //******************************************************