From 45db90633b0b9c9f8a5df9899187fbfc2e9deb44 Mon Sep 17 00:00:00 2001 From: Roman Zippel Date: Tue, 6 Jan 2004 03:46:12 -0800 Subject: [PATCH] [PATCH] qconf fix Sometimes a menuconfig item is shown twice, so hide the other item. --- scripts/kconfig/qconf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.53.0