diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2004-01-06 03:46:12 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-06 03:46:12 -0800 |
commit | 45db90633b0b9c9f8a5df9899187fbfc2e9deb44 (patch) | |
tree | 6698cbdb7cfa0b1cc8ddd0c51e2e030141767665 /scripts | |
parent | 550fcfc195905fd3a99fa249757c678ac734acc7 (diff) | |
download | history-45db90633b0b9c9f8a5df9899187fbfc2e9deb44.tar.gz |
[PATCH] qconf fix
Sometimes a menuconfig item is shown twice, so hide the other item.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/qconf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 9ae9c321662fa..182934e1cc92a 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -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) |