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
..
2019-06-12 16:35:49 +02:00
2019-05-29 06:28:34 +09:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-04-05 15:14:53 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-02 13:39:56 -03:00
2019-01-01 12:58:10 +01:00
2019-04-30 13:31:51 +02:00
2019-02-24 23:16:56 -06:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-19 13:10:35 +02:00
2019-03-03 16:00:56 -03:00
2019-05-21 15:23:18 +02:00
2019-05-13 18:55:31 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-29 15:20:39 -05:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 17:21:48 +01:00
2019-04-25 13:20:29 -04:00
2019-01-01 12:58:10 +01:00
2019-06-04 16:05:23 +03:00
2019-01-01 12:58:10 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-06-02 14:32:32 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-06-11 08:10:07 +03:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 17:21:48 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-04-29 13:07:47 -03:00
2019-04-22 15:11:49 -07:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-31 14:56:49 +02:00
2019-05-09 06:25:32 -04:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-31 14:56:49 +02:00
2019-05-31 14:56:49 +02:00
2019-05-28 11:36:41 +02:00
2019-04-30 05:35:43 +10:00
2019-02-27 15:56:49 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-06-07 12:36:11 +02:00
2019-02-22 00:23:05 +02:00
2019-05-24 14:56:39 +02:00
2019-01-01 12:58:10 +01:00
2019-05-24 14:56:39 +02:00
2019-01-01 12:58:10 +01:00
2018-09-28 14:07:39 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-05-28 19:12:19 +02:00
2019-01-01 12:58:10 +01:00
2019-05-21 14:49:53 +02:00
2019-01-01 12:58:10 +01:00
2019-02-22 10:12:39 -03:00
2019-01-01 12:58:10 +01:00
2019-05-06 01:59:34 -03:00
2019-04-08 19:18:51 -03:00
2019-05-06 01:59:34 -03:00
2019-01-01 12:58:10 +01:00
2019-06-12 14:23:27 +02:00
2019-06-08 12:37:57 +01:00
2019-04-30 11:46:40 +02:00
2019-02-12 17:21:48 +01:00
2019-02-19 08:28:32 +00:00
2019-01-01 12:58:10 +01:00
2019-04-30 12:33:02 +02:00
2019-04-03 13:05:29 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-06-12 13:29:36 +02:00
2019-05-31 14:56:49 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00