Fix [#37049] Default keybindings: Text editor auto-complete accepts Return, but not Numpad Enter

This commit is contained in:
Shinsuke Irie 2013-10-11 19:44:56 +00:00
parent acc6998007
commit b83f755542
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ static int text_autocomplete_modal(bContext *C, wmOperator *op, const wmEvent *e
}
break;
case RETKEY:
case PADENTER:
if (event->val == KM_PRESS) {
if (tools & TOOL_SUGG_LIST) {
confirm_suggestion(st->text);