[PATCH] qconf: 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

Take2 uses updateList() so config values dependending on the changed value
see the change.

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Karsten Wiese 2007-02-14 00:32:57 -08:00 committed by Linus Torvalds
parent e0ab1ec9fc
commit 49e5646d65

View file

@ -89,6 +89,7 @@ void ConfigItem::okRename(int col)
{ {
Parent::okRename(col); Parent::okRename(col);
sym_set_string_value(menu->sym, text(dataColIdx).latin1()); sym_set_string_value(menu->sym, text(dataColIdx).latin1());
listView()->updateList(this);
} }
#endif #endif