From e54cabaad0cc69797cca2dc4055a3ef90d2729e6 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 16 Dec 2006 01:53:17 +0000 Subject: 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(+) (limited to 'textscreen') 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); -- cgit v1.2.3