Commit ed8b4d4d authored by Cyrill V. Gorcunov's avatar Cyrill V. Gorcunov Committed by Linus Torvalds
Browse files

[PATCH] qconf: hide empty list items

This patch fixes showing empty config list items if "Option/Show All
Options" is turned on.  For example empty items appears on list of 'Block
Layer' menu.

Signed-off-by: default avatarCyrill V. Gorcunov <>
Cc: Roman Zippel <>
Cc: Sam Ravnborg <>
Cc: Oleg Verych <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1f85712e
......@@ -606,6 +606,8 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu)
visible = menu_is_visible(child);
if (showAll || visible) {
if (!child->sym && !child->list && !child->prompt)
if (!item || item->menu != child)
item = new ConfigItem(parent, last, child, visible);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment