summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-12 16:31:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-12 16:35:49 +0200
commit2cedf7173a104a1b17af38b9c663a339c5fa664d (patch)
treeed70876cf48a6c1f20c6c4953d20e270c5986740 /doc
parent4073da7ddd0e1e899b5ae3f37b0281286016bfd6 (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 'doc')
0 files changed, 0 insertions, 0 deletions