diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-29 07:01:17 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-29 07:49:39 +0200 |
| commit | d1e2a652de33e1b928515277452fd939a290f5ed (patch) | |
| tree | 5ccd6137fe463277b8ed0867f63ac78be0160402 /tests/Kinclude_path | |
| parent | 0ed2ba06ce4b8f22420ecf15dc36476382b8fa02 (diff) | |
menuconfig: Always show implicit submenus with visible nodes
Currently, the symbol BAR below (which ends up indented in an implicit
submenu) is shown only if DEP is non-n (or if show-all mode is
enabled):
config FOO
bool "foo" if DEP
default y
config BAR
bool "bar" if FOO
This is bad, because it hides visible symbols from the interface. The
assumption was that an implicit submenu (which is only created if the
parent has a prompt) would never have visible items when the root item
is invisible, but prompt-specific conditions and select/imply can break
that assumption.
Fix it by always showing implicit submenus with visible nodes, along
with the parent node. If the parent node is invisible, show it in red,
like in show-all mode (which happens automatically). That's probably
better than having mysteriously indented nodes when the parent is
invisible.
Diffstat (limited to 'tests/Kinclude_path')
0 files changed, 0 insertions, 0 deletions
