mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									7934a8dd86
								
							
						
					
					
						commit
						b04c7e88bc
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -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) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Masahiro Yamada
						Masahiro Yamada