mwcraig / reducer

Friendly professional-level data reduction...documentation here:
https://reducer.readthedocs.org
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

Ensure all descendants of a ToggleContainerWidget are disabled when property is set #28

Closed mwcraig closed 10 years ago

mwcraig commented 10 years ago

Disabling a container does not disable its children (a ContainerWidget has no disabled property, actually), so we need to drill down in the event a child of ToggleContainerWidget.container is a ContainerWidget.

Probably also need to make sure I properly handle the case of a child that is a ToggleContainerWidget...