]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
kconfig: qconf: do not show goParent button in split view
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 23 Oct 2024 18:17:56 +0000 (03:17 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Nov 2024 23:46:34 +0000 (08:46 +0900)
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>
scripts/kconfig/qconf.cc

index c922c34621a46ac3e7c25436302d86a6ebf259fe..7c844c4a119ecbced0b7f2bfc6dc77754c0f9232 100644 (file)
@@ -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);