commit e54cabaad0cc69797cca2dc4055a3ef90d2729e6
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Dec 16 01:53:17 2006 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sat Dec 16 01:53:17 2006 +0000
Make dropdown lists emit a signal when set.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 778
---
textscreen/txt_dropdown.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/textscreen/txt_dropdown.c b/textscreen/txt_dropdown.c
index 5c39bad5..c5c4f99f 100644
--- a/textscreen/txt_dropdown.c
+++ b/textscreen/txt_dropdown.c
@@ -69,6 +69,8 @@ static void ItemSelected(TXT_UNCAST_ARG(button), TXT_UNCAST_ARG(callback_data))
*callback_data->list->variable = callback_data->item;
+ TXT_EmitSignal(callback_data->list, "changed");
+
// Close the window
TXT_CloseWindow(callback_data->window);