diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-12 16:31:01 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-12 16:35:49 +0200 |
commit | 2cedf7173a104a1b17af38b9c663a339c5fa664d (patch) | |
tree | ed70876cf48a6c1f20c6c4953d20e270c5986740 /thirdparty/libogg | |
parent | 4073da7ddd0e1e899b5ae3f37b0281286016bfd6 (diff) |
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.
Diffstat (limited to 'thirdparty/libogg')
0 files changed, 0 insertions, 0 deletions