diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-06 18:29:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-06 18:29:18 +0300 |
commit | 4a6c843ec165d453dccea95556db592affb178af (patch) | |
tree | 1a0e48f31f10232798922de5f84a6fed22fa4fbe /source/blender | |
parent | bd0b26f7bbb9679d54d661349adc8dd6e7b138b9 (diff) |
Fix #20951: move to layer popup hotkeys shift 1..9 were not working correct.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index a751c7b7aa2..d3912e183c1 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -5152,7 +5152,7 @@ int ui_handle_menu_event(bContext *C, wmEvent *event, uiPopupBlockHandle *menu, case ZEROKEY: case PAD0: if(act==0) act= 10; - if(block->flag & UI_BLOCK_NUMSELECT) { + if((block->flag & UI_BLOCK_NUMSELECT) && event->val==KM_PRESS) { if(event->alt) act+= 10; count= 0; |