diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-02-03 02:24:05 +0100 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-06-20 09:13:23 +0200 |
commit | 1e6fa5d1a553fdf76840762024420fba3a720e70 (patch) | |
tree | b79a504859c4427fdf47d2679a1ba0e906bbfb96 /scene/gui/base_button.h | |
parent | d2f38dbb28053e47cd6a0f8b368ade5c19d5ca70 (diff) |
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
Diffstat (limited to 'scene/gui/base_button.h')
-rw-r--r-- | scene/gui/base_button.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<InputEvent> p_event); + protected: virtual void pressed(); virtual void toggled(bool p_pressed); |