From: vsv Date: Thu, 16 Apr 2015 16:14:29 +0000 (+0300) Subject: Fixed bug with non active shape after import operation X-Git-Tag: V_1.1.0~19^2~1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2564ccb7e4220af6487de6f779d3266606b6204c;p=modules%2Fshaper.git Fixed bug with non active shape after import operation --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index eda386924..b15dcffa8 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -677,6 +677,12 @@ void XGUI_Workshop::onOperationStopped(ModuleBase_Operation* theOperation) //QIntList aModes; //myDisplayer->activateObjects(aModes); myModule->operationStopped(theOperation); + + if (myOperationMgr->operationsCount() == 0) { + // Activate selection mode for all objects + QIntList aModes; + myDisplayer->activateObjects(aModes); + } }