summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textscreen/txt_button.c1
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;