From 89aeee12f9f793e37165457ae46edbbf6aec1a26 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 25 Jun 2015 15:18:44 +0300 Subject: [PATCH] The control should not be interactive in edit mode like it is in point selector control. --- src/PartSet/PartSet_WidgetPoint2dDistance.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PartSet/PartSet_WidgetPoint2dDistance.cpp b/src/PartSet/PartSet_WidgetPoint2dDistance.cpp index 07cf1877b..f4c5bc6d1 100644 --- a/src/PartSet/PartSet_WidgetPoint2dDistance.cpp +++ b/src/PartSet/PartSet_WidgetPoint2dDistance.cpp @@ -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; -- 2.39.2