diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-09 16:32:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-09 16:34:24 +0300 |
commit | 7b0c327b943d4c4a3b212844ea2d4dfcc77f0556 (patch) | |
tree | 82361cc81f5d02f6380f488067aeab0ebce4a1de /source/blender/editors | |
parent | 9a83e112bea30dfe8f3417df2638d674e84fa7f9 (diff) |
Disable key accelerators for splash screen
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_regions.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index da2852c71d1..8a6df2c1873 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -1683,13 +1683,8 @@ uiBlock *ui_popup_block_refresh( ar->regiondata = handle; /* set UI_BLOCK_NUMSELECT before UI_block_end() so we get alphanumeric keys assigned */ - if (but) { - if (but->type == UI_BTYPE_PULLDOWN) { - block->flag |= UI_BLOCK_NUMSELECT; - } - } - else { - block->flag |= UI_BLOCK_POPUP | UI_BLOCK_NUMSELECT; + if (but == NULL) { + block->flag |= UI_BLOCK_POPUP; } block->flag |= UI_BLOCK_LOOP; |