From 1e6fa5d1a553fdf76840762024420fba3a720e70 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Sun, 3 Feb 2019 02:24:05 +0100 Subject: Fixed shortcut events in BaseButton (now acts the same as ui_accept action) --- scene/gui/base_button.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/gui/base_button.h') diff --git a/scene/gui/base_button.h b/scene/gui/base_button.h index abb3f58d6b..a76e073668 100644 --- a/scene/gui/base_button.h +++ b/scene/gui/base_button.h @@ -74,6 +74,8 @@ private: void _pressed(); void _toggled(bool p_pressed); + void on_action_event(Ref p_event); + protected: virtual void pressed(); virtual void toggled(bool p_pressed); -- cgit v1.2.3