summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrzycho <krzycho_s@tlen.pl>2015-05-29 23:37:23 +0200
committerkrzycho <krzycho_s@tlen.pl>2015-05-29 23:37:23 +0200
commit14c63565ec6be69b6731bcda1da7072ef53d3d88 (patch)
tree418f5b3955a97ce0eb003b3657e109c2bfc91739
parentf62961aba3d9e11d4741649a591217796151a46c (diff)
Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it.
-rw-r--r--scene/gui/base_button.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp
index dff2377766..8b6f433c9c 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: {