Keymap: use right mouse for console context menu

Was using 'w' which doesn't work with text entry.
This matches the text editor.
This commit is contained in:
Campbell Barton
2019-10-08 14:33:50 +11:00
parent f9a266a226
commit 7f52eb287c

View File

@@ -2539,7 +2539,7 @@ def km_console(params):
{"properties": [("text", '\t')]}),
("console.indent", {"type": 'TAB', "value": 'PRESS'}, None),
("console.unindent", {"type": 'TAB', "value": 'PRESS', "shift": True}, None),
op_menu("CONSOLE_MT_context_menu", params.context_menu_event),
op_menu("CONSOLE_MT_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}),
("console.insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
])