From: vsv Date: Tue, 26 May 2015 09:21:02 +0000 (+0300) Subject: Activation of part after open document correction X-Git-Tag: V_1.2.0~81 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6dbbccc63f88abb60df98e956dc4d8e23461ea8;p=modules%2Fshaper.git Activation of part after open document correction --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 6c23dcbbe..0d35b4533 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -171,7 +171,8 @@ bool Model_Document::load(const char* theFileName, DocumentPtr theThis) setCurrentFeature(currentFeature(false), false); aSession->setCheckTransactions(true); aSession->setActiveDocument(Model_Session::get()->moduleDocument(), false); - aSession->setActiveDocument(anApp->getDocument(myID), true); + // this is done in Part result "activate", so no needed here. Causes not-blue active part. + //aSession->setActiveDocument(anApp->getDocument(myID), true); } return !isError; }