diff options
-rw-r--r-- | textscreen/txt_button.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/txt_button.c b/textscreen/txt_button.c index 6ff2bfe3..12ec9433 100644 --- a/textscreen/txt_button.c +++ b/textscreen/txt_button.c @@ -54,6 +54,7 @@ static int TXT_ButtonKeyPress(TXT_UNCAST_ARG(button), int key) if (key == KEY_ENTER) { TXT_EmitSignal(button, "pressed"); + return 1; } return 0; |