Skip to content

Commit cc1c08e

Browse files
mchehabmasahir0y
authored andcommitted
kconfig: qconf: don't show goback button on splitMode
the goback button does nothing on splitMode. So, why display it? Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent af737b4 commit cc1c08e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/kconfig/qconf.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,10 @@ void ConfigList::updateList(ConfigItem* item)
437437
if (rootEntry != &rootmenu && (mode == singleMode ||
438438
(mode == symbolMode && rootEntry->parent != &rootmenu))) {
439439
item = (ConfigItem *)topLevelItem(0);
440-
if (!item)
440+
if (!item && mode != symbolMode) {
441441
item = new ConfigItem(this, 0, true);
442-
last = item;
442+
last = item;
443+
}
443444
}
444445
if ((mode == singleMode || (mode == symbolMode && !(rootEntry->flags & MENU_ROOT))) &&
445446
rootEntry->sym && rootEntry->prompt) {

0 commit comments

Comments
 (0)