Bug 1016
When you use arrow keys to activate items in a menu (like IKEY for Ipos) the selected items were not correctly choosen when mousepointer was over an item, only when mousepointer over title. Fixed by catching 'RETKEY' event in buttons event subloop.
This commit is contained in:
parent
4a86586ea8
commit
a9b1cd6a0e
@ -2573,6 +2573,9 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
|
||||
case LEFTARROWKEY: // later on implement opening/closing sublevels of pupmenus
|
||||
case RIGHTARROWKEY:
|
||||
break;
|
||||
|
||||
case RETKEY: // prevent treating this as mousemove. for example when you enter at popup
|
||||
break;
|
||||
|
||||
case PAD8: case PAD2:
|
||||
case UPARROWKEY:
|
||||
|
Loading…
Reference in New Issue
Block a user