From 14c63565ec6be69b6731bcda1da7072ef53d3d88 Mon Sep 17 00:00:00 2001 From: krzycho Date: Fri, 29 May 2015 23:37:23 +0200 Subject: [PATCH] Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it. --- scene/gui/base_button.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index dff23777666..8b6f433c9c2 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -148,6 +148,7 @@ void BaseButton::_input_event(InputEvent p_event) { update(); } } break; + case InputEvent::ACTION: case InputEvent::JOYSTICK_BUTTON: case InputEvent::KEY: {