From: vsv Date: Fri, 6 Nov 2015 07:22:37 +0000 (+0300) Subject: Check feature on abort X-Git-Tag: V_2.0.0_alfa1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=56fa6a9b1c3d07c9fe0d0234896b2dece4e8f543;p=modules%2Fshaper.git Check feature on abort --- diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index 8048ff9f5..ca34bc942 100755 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -221,7 +221,8 @@ void ModuleBase_OperationFeature::abort() if (aPropertyPanel) aPropertyPanel->cleanContent(); - myFeature->setStable(true); + if (myFeature.get()) + myFeature->setStable(true); abortOperation(); stopOperation();