]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Check feature on abort
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 6 Nov 2015 07:22:37 +0000 (10:22 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 6 Nov 2015 07:22:48 +0000 (10:22 +0300)
src/ModuleBase/ModuleBase_OperationFeature.cpp

index 8048ff9f510a982efac9c4e82f3e636281ef5074..ca34bc942de059db29023c2e57affb7bcdea1f54 100755 (executable)
@@ -221,7 +221,8 @@ void ModuleBase_OperationFeature::abort()
   if (aPropertyPanel)
     aPropertyPanel->cleanContent();
 
-  myFeature->setStable(true);
+  if (myFeature.get())
+    myFeature->setStable(true);
 
   abortOperation();
   stopOperation();