Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: qconf: show selected choice in the Value column

It is useful to display the selected choice's value in the Value column.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

+8 -1
+8 -1
scripts/kconfig/qconf.cc
··· 127 127 goto set_prompt; 128 128 case M_CHOICE: 129 129 setIcon(promptColIdx, QIcon()); 130 + sym = sym_calc_choice(menu); 131 + if (sym) 132 + setText(dataColIdx, sym->name); 130 133 goto set_prompt; 131 134 default: 132 135 ; ··· 192 189 if (!menu) 193 190 return; 194 191 195 - sym_calc_value(menu->sym); 192 + if (menu->type == M_CHOICE) 193 + sym_calc_choice(menu); 194 + else 195 + sym_calc_value(menu->sym); 196 + 196 197 if (menu->flags & MENU_CHANGED) { 197 198 /* the menu entry changed, so update all list items */ 198 199 menu->flags &= ~MENU_CHANGED;