Archive: SubSection - selected though no sections selected or visible


SubSection - selected though no sections selected or visible
I deselect and hide sections in .onInit.

If I deselect and hide all sections of a SubSection, the SubSection
is still shown and selected.

How can I hide the SubSection if all its sections are deselcted
and hidden?

If I don't hide the sections, the SubSection is deselcted (as it
should be).

I have attached a small script that demonstrates my problem.


This thread talks about a related issue. As you can see, a subsection is still a section and because of that you must hide it manually too.