kconfig: gconf: give a proper initial state to the Save button
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 Jun 2024 18:20:40 +0000 (03:20 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 6 Jun 2024 11:03:16 +0000 (20:03 +0900)
commit46edf4372e336ef3a61c3126e49518099d2e2e6d
tree6741cb883d7da0f4d7b6cb6ad5ac8b7c95c5b566
parentc181689bc479d3b2300f91fc4d53e089d7631898
kconfig: gconf: give a proper initial state to the Save button

Currently, the initial state of the "Save" button is always active.

If none of the CONFIG options are changed while loading the .config
file, the "Save" button should be greyed out.

This can be fixed by calling conf_read() after widget initialization.

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