You have attempted to make a widget a definition, but an ancestor of this widget is also a definition.
Unfortunately, X-Designer does not support this behavior: you cannot have definitions-within-definitions.