From: Masahiro Yamada Date: Wed, 23 Oct 2024 18:17:56 +0000 (+0900) Subject: kconfig: qconf: do not show goParent button in split view X-Git-Tag: v6.13-rc1~16^2~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76567f93b3454cae3a3eaa23a3b28c94b70ee013;p=thirdparty%2Fkernel%2Fstable.git kconfig: qconf: do not show goParent button in split view When a menu is selected in the split view, the right pane displays the goParent button, but it is never functional. This is unnecessary, as you can select a menu from the menu tree in the left pane. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index c922c34621a46..7c844c4a119ec 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -436,8 +436,7 @@ void ConfigList::updateList() return; } - if (rootEntry != &rootmenu && (mode == singleMode || - (mode == symbolMode && rootEntry->parent != &rootmenu))) { + if (rootEntry != &rootmenu && mode == singleMode) { item = (ConfigItem *)topLevelItem(0); if (!item) item = new ConfigItem(this, 0, true);