diff options
author | Simon Howard | 2006-12-16 01:53:17 +0000 |
---|---|---|
committer | Simon Howard | 2006-12-16 01:53:17 +0000 |
commit | e54cabaad0cc69797cca2dc4055a3ef90d2729e6 (patch) | |
tree | 63024fcc852b106b987780e147e39be680e67e47 | |
parent | 2aa16d0ff38c02c96272c9af050a4d7e1715c3fb (diff) | |
download | chocolate-doom-e54cabaad0cc69797cca2dc4055a3ef90d2729e6.tar.gz chocolate-doom-e54cabaad0cc69797cca2dc4055a3ef90d2729e6.tar.bz2 chocolate-doom-e54cabaad0cc69797cca2dc4055a3ef90d2729e6.zip |
Make dropdown lists emit a signal when set.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 778
-rw-r--r-- | textscreen/txt_dropdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |