From 2687a70deada3814f4b9953b2ea135eecaf7348a Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 1 Dec 2016 12:54:29 +0300 Subject: [PATCH] Issue #1852 In the Sketcher, replace all disabled real inputs by labels --- src/PartSet/PartSet_WidgetPoint2d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 0abbeab32..59330ec50 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -176,7 +176,8 @@ bool PartSet_WidgetPoint2D::isValidSelectionCustom(const ModuleBase_ViewerPrsPtr bool PartSet_WidgetPoint2D::resetCustom() { bool aDone = false; - if (!isUseReset() || isComputedDefault() /*|| myXSpin->hasVariable() || myYSpin->hasVariable()*/) { + if (!isUseReset() || isComputedDefault() + /*|| myXSpin->hasVariable() || myYSpin->hasVariable()*/) { aDone = false; } else { -- 2.39.2