From 2564ccb7e4220af6487de6f779d3266606b6204c Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 16 Apr 2015 19:14:29 +0300 Subject: [PATCH] Fixed bug with non active shape after import operation --- src/XGUI/XGUI_Workshop.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); + } } -- 2.39.2