UI: Match some properties set in keymaps with those set for buttons
This allows the operator's shortcut to appear in the context menu. Except for the shortcut display, there is no functional change from the user's point of view. This fix T77839
This commit is contained in:
parent
eacdcb2dd8
commit
a874cec02b
Notes:
blender-bot
2023-02-14 04:07:50 +01:00
Referenced by issue #77839, Context menu for button does not display shortcuts with default value of properties
|
@ -695,9 +695,12 @@ def km_user_interface(_params):
|
|||
("ui.copy_data_path_button", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
|
||||
{"properties": [("full_path", True)]}),
|
||||
# Keyframes and drivers
|
||||
("anim.keyframe_insert_button", {"type": 'I', "value": 'PRESS'}, None),
|
||||
("anim.keyframe_delete_button", {"type": 'I', "value": 'PRESS', "alt": True}, None),
|
||||
("anim.keyframe_clear_button", {"type": 'I', "value": 'PRESS', "shift": True, "alt": True}, None),
|
||||
("anim.keyframe_insert_button", {"type": 'I', "value": 'PRESS'},
|
||||
{"properties": [("all", True)]}),
|
||||
("anim.keyframe_delete_button", {"type": 'I', "value": 'PRESS', "alt": True},
|
||||
{"properties": [("all", True)]}),
|
||||
("anim.keyframe_clear_button", {"type": 'I', "value": 'PRESS', "shift": True, "alt": True},
|
||||
{"properties": [("all", True)]}),
|
||||
("anim.driver_button_add", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
|
||||
("anim.driver_button_remove", {"type": 'D', "value": 'PRESS', "ctrl": True, "alt": True}, None),
|
||||
("anim.keyingset_button_add", {"type": 'K', "value": 'PRESS'}, None),
|
||||
|
|
Loading…
Reference in New Issue