Skip to contentSkip to conversation

Immediately update integer and string values in xconfig display

PATCH New Karsten Wiese 1 participant 1 message Dec 26, 2006 Kconfig

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Immediately update integer and string values in xconfig display

In xconfig's display integer and string values are also shown as part of the config item's descriptive text.
This patch updates the descriptive text, when the corresponding value has been changed.
Fix for http://bugzilla.kernel.org/show_bug.cgi?id=7744

scripts/kconfig/qconf.cc +2 -0
@@ -89,6 +89,8 @@ void ConfigItem::okRename(int col)
 {
 	Parent::okRename(col);
 	sym_set_string_value(menu->sym, text(dataColIdx).latin1());
+	sym_calc_value(menu->sym);
+	updateMenu();
 }
 #endif