Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSet / PartSet_OperationSketchLine.cpp
index b76a73084afa3fa30c2534209415203dc7f374eb..5bc516c3954a89c2fb15789086d9b229f02a7627 100644 (file)
@@ -96,6 +96,20 @@ void PartSet_OperationSketchLine::mouseMoved(const gp_Pnt& thePoint)
   }
 }
 
+void PartSet_OperationSketchLine::keyReleased(const int theKey)
+{
+  switch (theKey) {
+    case Qt::Key_Escape:
+      abort();
+      break;
+    case Qt::Key_Enter:
+      //myPointSelectionMode = myPointSelectionMode;
+      break;
+    default:
+      break;
+  }
+}
+
 void PartSet_OperationSketchLine::startOperation()
 {
   PartSet_OperationSketchBase::startOperation();