summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_toolbar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 4ca9a3786..4cd9e6efb 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -666,7 +666,8 @@ _elm_toolbar_smart_event(Eo *obj, void *_pd, va_list *list)
666 if (!sd->items) return; 666 if (!sd->items) return;
667 667
668 if ((!strcmp(ev->key, "Return")) || 668 if ((!strcmp(ev->key, "Return")) ||
669 ((!strcmp(ev->key, "KP_Enter")) && !ev->string)) 669 (!strcmp(ev->key, "KP_Enter")) ||
670 (!strcmp(ev->key, "space")))
670 { 671 {
671 if (sd->highlighted_item) 672 if (sd->highlighted_item)
672 _item_select(sd->highlighted_item); 673 _item_select(sd->highlighted_item);