Commit e0be78df authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds

[PATCH] qconf menuconfig fix

correctly select a nested menuconfig entry
parent 571faeb7
......@@ -409,10 +409,13 @@ void ConfigList::updateList(ConfigItem* item)
item = new ConfigItem(this, 0, true);
last = item;
}
if (mode == singleMode && rootEntry->sym && rootEntry->prompt) {
if ((mode == singleMode || mode == symbolMode) &&
rootEntry->sym && rootEntry->prompt) {
item = last ? last->nextSibling() : firstChild();
if (!item)
item = new ConfigItem(this, last, rootEntry, true);
else
item->testUpdateMenu(true);
updateMenuList(item, rootEntry);
triggerUpdate();
......
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