kconfig: gconf: make key_press_event work in left pane too
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:19 +0000 (00:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 2 Jul 2025 01:36:14 +0000 (10:36 +0900)
commit3beae8659513550b6b82a4ccdc4d25be9497f208
tree5681d2c23306c9a3014140ffe614816a474f552d
parente06b176bf1b4a779f76b686ab5230dce45a8360e
kconfig: gconf: make key_press_event work in left pane too

Currently, on_treeview2_key_press_event() returns early for the tree1
widget. We can make it work on the left pane as well by avoiding the
hardcoded use of model2.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c