From: nds Date: Thu, 1 Dec 2016 09:54:29 +0000 (+0300) Subject: Issue #1852 In the Sketcher, replace all disabled real inputs by labels X-Git-Tag: V_2.6.0~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2687a70deada3814f4b9953b2ea135eecaf7348a;p=modules%2Fshaper.git Issue #1852 In the Sketcher, replace all disabled real inputs by labels --- 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 {