2006-12-26 19:34:08

by Karsten Wiese

[permalink] [raw]
Subject: [PATCH] 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

Signed-off-by: Karsten Wiese <[email protected]>


--- rc1/scripts/kconfig/qconf.cc 2006-12-23 21:35:12.000000000 +0100
+++ rc1-rt6-kw/scripts/kconfig/qconf.cc 2006-12-26 18:51:51.000000000 +0100
@@ -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