From 0b7e04043b8541228f1a0d27392e761a83dbc2dc Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 30 Sep 2014 10:04:40 +0400 Subject: [PATCH] Issue #172: Exclude ActivateLastPart call --- src/XGUI/XGUI_Workshop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); + //} } //****************************************************** -- 2.39.2