diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-10-24 03:17:56 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-06 08:46:34 +0900 |
commit | 76567f93b3454cae3a3eaa23a3b28c94b70ee013 (patch) | |
tree | 0da5f245b02843df020a9bb6a842249a6d73e239 | |
parent | b6962d8694963620401c24f051999678943a7123 (diff) | |
download | lwn-76567f93b3454cae3a3eaa23a3b28c94b70ee013.tar.gz lwn-76567f93b3454cae3a3eaa23a3b28c94b70ee013.zip |
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 <masahiroy@kernel.org>
-rw-r--r-- | scripts/kconfig/qconf.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index c922c34621a4..7c844c4a119e 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); |