diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-18 01:36:01 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-18 01:39:56 +0200 |
| commit | 5deda2a18da0bf2222076a2519896a39aabb3562 (patch) | |
| tree | d2d3414e5ae7b2a48c1bb92d67d1e388e97b9376 /menuconfig.py | |
| parent | 39bc30fbc37cd6e4dc6dc6f747ae4e76bdb12094 (diff) | |
menuconfig: Don't show indentation-based menus in menu path
Don't show A in the menu path at the top when entering the menu "B"
below, which will be indented relative to A. It looks confusing, and can
lead to really long menu paths.
config A
bool "A"
menu "B"
depends on A
...
Diffstat (limited to 'menuconfig.py')
| -rwxr-xr-x | menuconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/menuconfig.py b/menuconfig.py index 31fe4f2..cac98ee 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -825,7 +825,7 @@ def _draw_main(): menu = _cur_menu while menu is not _kconf.top_node: menu_prompts.append(menu.prompt[0]) - menu = menu.parent + menu = _parent_menu(menu) menu_prompts.append("(top menu)") menu_prompts.reverse() |
