From: nds Date: Tue, 3 Nov 2015 09:31:38 +0000 (+0300) Subject: Enter processing is corrected according to modifications from Dev_1.5.0 (from BR_POST... X-Git-Tag: V_2.0.0_alfa1~6^2~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c13fdea99faaf3ff6368bcb1913433d4c97a8922;p=modules%2Fshaper.git Enter processing is corrected according to modifications from Dev_1.5.0 (from BR_POSTPONED_PREVIEW) --- diff --git a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp index a5ae29b26..6e40f33b3 100755 --- a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp @@ -238,17 +238,15 @@ void PartSet_SketcherReetntrantMgr::onVertexSelected() void PartSet_SketcherReetntrantMgr::onBeforeStopped() { + if (!isActiveMgr() || !myIsInternalEditOperation) + return; + ModuleBase_OperationFeature* aFOperation = dynamic_cast (myWorkshop->currentOperation()); if (aFOperation) { disconnect(aFOperation, SIGNAL(beforeCommitted()), this, SLOT(onBeforeStopped())); disconnect(aFOperation, SIGNAL(beforeAborted()), this, SLOT(onBeforeStopped())); } - if (!isActiveMgr()) - return; - - if (!myIsInternalEditOperation) - return; PartSet_Module* aModule = module(); ModuleBase_ModelWidget* aFirstWidget = aModule->activeWidget();