Commit 45db9063 authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds

[PATCH] qconf fix

Sometimes a menuconfig item is shown twice, so hide the other item.
parent 550fcfc1
......@@ -409,7 +409,7 @@ void ConfigList::updateList(ConfigItem* item)
item = new ConfigItem(this, 0, true);
last = item;
}
if ((mode == singleMode || mode == symbolMode) &&
if ((mode == singleMode || (mode == symbolMode && !(rootEntry->flags & MENU_ROOT))) &&
rootEntry->sym && rootEntry->prompt) {
item = last ? last->nextSibling() : firstChild();
if (!item)
......
Markdown is supported
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