diff options
-rw-r--r-- | scripts/kconfig/qconf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 0981d2a2f363..512c2f5c341d 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -606,6 +606,8 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu) | |||
606 | 606 | ||
607 | visible = menu_is_visible(child); | 607 | visible = menu_is_visible(child); |
608 | if (showAll || visible) { | 608 | if (showAll || visible) { |
609 | if (!child->sym && !child->list && !child->prompt) | ||
610 | continue; | ||
609 | if (!item || item->menu != child) | 611 | if (!item || item->menu != child) |
610 | item = new ConfigItem(parent, last, child, visible); | 612 | item = new ConfigItem(parent, last, child, visible); |
611 | else | 613 | else |