From: vsv Date: Tue, 30 Sep 2014 06:04:40 +0000 (+0400) Subject: Issue #172: Exclude ActivateLastPart call X-Git-Tag: V_0.5~121^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b7e04043b8541228f1a0d27392e761a83dbc2dc;p=modules%2Fshaper.git Issue #172: Exclude ActivateLastPart call --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index d36f3f6de..8c76c2fd1 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -466,9 +466,9 @@ void XGUI_Workshop::onFeatureCreatedMsg(const boost::shared_ptrprocessEvent(theMsg); if (isDisplayed) myDisplayer->updateViewer(); - if (aHasPart) { - activateLastPart(); - } + //if (aHasPart) { // TODO: Avoid activate last part on loading of document + // activateLastPart(); + //} } //******************************************************