\r
//it should not be a "source" or a "validator" node\r
bool isLogical = isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NODE_SELFILTER, NULL);\r
- bool isPagedContainer = isNode(theNode, WDG_TOOLBOX, WDG_TOOLBOX_BOX,\r
- WDG_GROUP, WDG_OPTIONALBOX,\r
- WDG_SWITCH, WDG_SWITCH_CASE, NULL);\r
+ // here must be only widgets not connected to attributes\r
+ bool isPagedContainer = isNode(theNode, WDG_TOOLBOX_BOX,\r
+ WDG_GROUP,\r
+ WDG_SWITCH_CASE, NULL);\r
return !isLogical && !isPagedContainer;\r
}\r
\r