aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2003-07-25 01:49:53 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-25 01:49:53 -0700
commite0be78df49e4ec36cca39eb1441cd1f040b4f14b (patch)
treec6b457f31ab731200dfb4a3e24e50be62240158e /scripts
parent571faeb79b58e3b3a1b71e961d24353fdc75ecb8 (diff)
downloadhistory-e0be78df49e4ec36cca39eb1441cd1f040b4f14b.tar.gz
[PATCH] qconf menuconfig fix
correctly select a nested menuconfig entry
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/qconf.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 52419adffc173..9ae9c321662fa 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -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();