fix [#29242] menus have no keyboard shortcuts

This commit is contained in:
2011-11-14 14:42:47 +00:00
parent 1ace39c86b
commit 9e6860d864
14 changed files with 78 additions and 45 deletions

View File

@@ -1362,7 +1362,7 @@ static void operator_search_cb(const struct bContext *C, void *UNUSED(arg), cons
/* check for hotkey */
if(len < 256-6) {
if(WM_key_event_operator_string(C, ot->idname, WM_OP_EXEC_DEFAULT, NULL, &name[len+1], 256-len-1))
if(WM_key_event_operator_string(C, ot->idname, WM_OP_EXEC_DEFAULT, NULL, TRUE, &name[len+1], 256-len-1))
name[len]= '|';
}