Menu accellerator now accepts fast clicking again. (ctrl-q + q)
This commit is contained in:
Ton Roosendaal
2012-10-27 14:10:25 +00:00
parent 1e56d0b033
commit 4959c8767e

View File

@@ -6635,7 +6635,7 @@ static int ui_handle_menu_event(bContext *C, wmEvent *event, uiPopupBlockHandle
case YKEY:
case ZKEY:
{
if ((event->val == KM_PRESS) &&
if ((event->val == KM_PRESS || event->val == KM_DBL_CLICK) &&
(event->shift == FALSE) &&
(event->ctrl == FALSE) &&
(event->oskey == FALSE))