diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2025-06-25 00:04:49 +0900 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-06-28 01:57:59 +0900 |
| commit | b04c7e88bcf5ddcd15e2c620b802c28848f437bb (patch) | |
| tree | 8f43efa213a5c341318c061aed56a2a9cb8ea14a | |
| parent | 7934a8dd8692b56714ce9b36421e316445d94a77 (diff) | |
kconfig: set MENU_CHANGED to choice when the selected member is changed
In gconf, choice entries display the selected symbol in the 'Value'
column, but it is not updated when the selected symbol is changed.
Set the MENU_CHANGED flag, so it is updated.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
| -rw-r--r-- | scripts/kconfig/symbol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index d57f8cbba291..26ab10c0fd76 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -195,6 +195,10 @@ static void sym_set_changed(struct symbol *sym) list_for_each_entry(menu, &sym->menus, link) menu->flags |= MENU_CHANGED; + + menu = sym_get_choice_menu(sym); + if (menu) + menu->flags |= MENU_CHANGED; } static void sym_set_all_changed(void) |
