ref: e54cabaad0cc69797cca2dc4055a3ef90d2729e6
parent: 2aa16d0ff38c02c96272c9af050a4d7e1715c3fb
author: Simon Howard <[email protected]>
date: Fri Dec 15 20:53:17 EST 2006
Make dropdown lists emit a signal when set. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 778
--- a/textscreen/txt_dropdown.c
+++ b/textscreen/txt_dropdown.c
@@ -69,6 +69,8 @@
*callback_data->list->variable = callback_data->item;
+ TXT_EmitSignal(callback_data->list, "changed");
+
// Close the window
TXT_CloseWindow(callback_data->window);