From: nds Date: Tue, 26 May 2015 10:30:17 +0000 (+0300) Subject: Validators, defined in the attribute of the "groupbox" widget were not registered... X-Git-Tag: V_1.2.0~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95daf20cc169208e49940fe57d649e7b71e78c88;p=modules%2Fshaper.git Validators, defined in the attribute of the "groupbox" widget were not registered in the factory. Scenario: start extrusion operation, activate "to" selector. The planar face validator is not activated for it. --- diff --git a/src/Config/Config_Common.cpp b/src/Config/Config_Common.cpp index 8c8cde427..a36be0325 100644 --- a/src/Config/Config_Common.cpp +++ b/src/Config/Config_Common.cpp @@ -70,7 +70,7 @@ bool isWidgetNode(xmlNodePtr theNode) if(!isElementNode(theNode)) return false; // it's parent is "feature" or "source" or a page ("box", "case") - if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE, + if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE, WDG_GROUP, WDG_TOOLBOX_BOX, WDG_SWITCH_CASE, NULL)) return false;