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]>
This commit is contained in:
Mauro Carvalho Chehab authored and Masahiro Yamada committed 2020-07-02 00:00:02 +09:00
1 parent af737b4def
commit cc1c08edcc
1 file changed
+3 -2
+3 -2
View File
@@ -437,9 +437,10 @@ void ConfigList::updateList(ConfigItem* item)
if (rootEntry != &rootmenu && (mode == singleMode ||
(mode == symbolMode && rootEntry->parent != &rootmenu))) {
item = (ConfigItem *)topLevelItem(0);
if (!item)
if (!item && mode != symbolMode) {
item = new ConfigItem(this, 0, true);
last = item;
last = item;
}
}
if ((mode == singleMode || (mode == symbolMode && !(rootEntry->flags & MENU_ROOT))) &&
rootEntry->sym && rootEntry->prompt) {