From: mpv Date: Tue, 30 Sep 2014 11:02:52 +0000 (+0400) Subject: Issue 172: activate automatically the newly created part (not on load) X-Git-Tag: V_0.5~121^2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=27d222c226f3ff3c6789e3f20d4101a8e8c4e84e;p=modules%2Fshaper.git Issue 172: activate automatically the newly created part (not on load) --- diff --git a/src/PartSetPlugin/PartSetPlugin_Part.cpp b/src/PartSetPlugin/PartSetPlugin_Part.cpp index 937820bec..9c5e6e62a 100644 --- a/src/PartSetPlugin/PartSetPlugin_Part.cpp +++ b/src/PartSetPlugin/PartSetPlugin_Part.cpp @@ -25,6 +25,7 @@ void PartSetPlugin_Part::execute() if (!aResult) { aResult = document()->createPart(data()); setResult(aResult); + aResult->activate(); } /* boost::shared_ptr aDocRef = aResult->data()->docRef(