Make txt_inputboxes emit a "changed" signal when their value is changed.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1520
This commit is contained in:
parent
cc93c79792
commit
21d67cd730
1 changed files with 2 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ static int TXT_InputBoxKeyPress(TXT_UNCAST_ARG(inputbox), int key)
|
|||
free(*((char **)inputbox->value));
|
||||
*((char **) inputbox->value) = strdup(inputbox->buffer);
|
||||
|
||||
TXT_EmitSignal(&inputbox->widget, "changed");
|
||||
|
||||
inputbox->editing = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue