]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
The control should not be interactive in edit mode like it is in point selector control.
authornds <natalia.donis@opencascade.com>
Thu, 25 Jun 2015 12:18:44 +0000 (15:18 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 25 Jun 2015 12:18:44 +0000 (15:18 +0300)
src/PartSet/PartSet_WidgetPoint2dDistance.cpp

index 07cf1877b7303c76a175fdc316933b3122bc3d61..f4c5bc6d16cd7980d27be2f4a0d32ee5523358f9 100644 (file)
@@ -116,6 +116,9 @@ void PartSet_WidgetPoint2dDistance::onMouseRelease(ModuleBase_IViewWindow* theWn
 
 void PartSet_WidgetPoint2dDistance::onMouseMove(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent)
 {
+  if (isEditingMode())
+    return;
+
   if (mySpinBox->hasVariable())
     return;