]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Validators, defined in the attribute of the "groupbox" widget were not registered...
authornds <natalia.donis@opencascade.com>
Tue, 26 May 2015 10:30:17 +0000 (13:30 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 26 May 2015 10:30:57 +0000 (13:30 +0300)
Scenario: start extrusion operation, activate "to" selector. The planar face validator is not activated for it.

src/Config/Config_Common.cpp

index 8c8cde4270d7a27265c77d29be1c0f0e68fbdaf0..a36be0325bf6a47e47170197d9c8ea0b5d9a9ccc 100644 (file)
@@ -70,7 +70,7 @@ bool isWidgetNode(xmlNodePtr theNode)
   if(!isElementNode(theNode))\r
     return false;\r
   // it's parent is "feature" or "source" or a page ("box", "case")\r
-  if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE, \r
+  if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE, WDG_GROUP,\r
                          WDG_TOOLBOX_BOX, WDG_SWITCH_CASE, NULL))\r
     return false;\r
 \r