From e0be78df49e4ec36cca39eb1441cd1f040b4f14b Mon Sep 17 00:00:00 2001 From: Roman Zippel Date: Fri, 25 Jul 2003 01:49:53 -0700 Subject: [PATCH] [PATCH] qconf menuconfig fix correctly select a nested menuconfig entry --- scripts/kconfig/qconf.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- 2.53.0