Hiding sub-menus

Feature request: make the Sub-menu trait hideable, the same way the ‘Restrict Commands’ trait can hide other traits.

Thus spake mycenae:

Feature request: make the Sub-menu trait hideable, the same way the
‘Restrict Commands’ trait can hide other traits.

Open an issue for this in the tracker.


J.

Ideally if all trait in a sub-menu are hidden the sub-menu itself should be hidden, with no need to enter a specific restrict command. Probably an option on the sub-menu definition like “hide when all traits hidden”.

Any chance this will be in 3.2.0 ?