We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af737b4 commit cc1c08eCopy full SHA for cc1c08e
scripts/kconfig/qconf.cc
@@ -437,9 +437,10 @@ void ConfigList::updateList(ConfigItem* item)
437
if (rootEntry != &rootmenu && (mode == singleMode ||
438
(mode == symbolMode && rootEntry->parent != &rootmenu))) {
439
item = (ConfigItem *)topLevelItem(0);
440
- if (!item)
+ if (!item && mode != symbolMode) {
441
item = new ConfigItem(this, 0, true);
442
- last = item;
+ last = item;
443
+ }
444
}
445
if ((mode == singleMode || (mode == symbolMode && !(rootEntry->flags & MENU_ROOT))) &&
446
rootEntry->sym && rootEntry->prompt) {
0 commit comments