kconfig: gconf: update pane correctly after loading a config file
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 4 May 2024 18:33:24 +0000 (03:33 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 9 May 2024 19:34:52 +0000 (04:34 +0900)
commit4763175ad2be3395bb23880a4cc9c48cf823dc40
treee0c95863a9cc8a8d7a0baede942fd4efeba1f2c4
parenta0b49a9102019c790cbe3f102b1f4361342f8c70
kconfig: gconf: update pane correctly after loading a config file

Every time a config file is loaded (either by clicking the "Load" button
or selecting "File" -> "Load" from the menu), a new list is appended to
the pane.

The current tree needs to be cleared by calling gtk_tree_store_clear().

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