godot/scene
Rémi Verschelde 2cedf7173a BaseButton: Make shortcuts call virtual methods
When buttons are not in Toggle Mode, shortcuts used to only trigger the
`pressed` signal, without calling the `_pressed` virtual method,
contrarily to what happens when you click the button.

For Toggle Mode buttons, it did call the `_toggled` virtual method
together with emitting the `toggled` signal *twice*.

This commit harmonizes it all and makes shortcuts behave the same as
mouse clicks or `ui_accept`, for both toggle and non-toggle modes.

Fixes #29604.
2019-06-12 16:35:49 +02:00
..
2d Merge pull request #29306 from qarmin/small_code_fixes 2019-06-12 12:49:21 +02:00
3d Merge pull request #29589 from kbajno/master 2019-06-12 12:52:47 +02:00
animation Merge pull request #29306 from qarmin/small_code_fixes 2019-06-12 12:49:21 +02:00
audio Style: Fix issues with clang-format 8.0 2019-05-20 13:51:51 +02:00
gui BaseButton: Make shortcuts call virtual methods 2019-06-12 16:35:49 +02:00
main Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
resources Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
register_scene_types.cpp added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
register_scene_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
scene_string_names.cpp -Fixes to undo redo to avoid crash, closes #24251 2019-02-14 10:22:34 -03:00
scene_string_names.h -Fixes to undo redo to avoid crash, closes #24251 2019-02-14 10:22:34 -03:00
SCsub