]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1852 In the Sketcher, replace all disabled real inputs by labels
authornds <nds@opencascade.com>
Thu, 1 Dec 2016 09:54:29 +0000 (12:54 +0300)
committernds <nds@opencascade.com>
Thu, 1 Dec 2016 09:54:29 +0000 (12:54 +0300)
src/PartSet/PartSet_WidgetPoint2d.cpp

index 0abbeab322dbf8e59626151f0c8a271b3b8bfa8b..59330ec50c2a7639ebbea2ecb5babecb4cb0768f 100644 (file)
@@ -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 {