forked from bartvdbraak/blender
Revert "Disable key accelerators for splash screen"
This reverts commit 7b0c327b943d4c4a3b212844ea2d4dfcc77f0556. The problem with this commit is that the "move to layer" functionality by hitting M,1 f.e. didn't work anymore... Campbell, would be great if you could look into this again, as I'm not experienced in this specific region..
This commit is contained in:
parent
e464cbae3b
commit
7f3dcbe17f
@ -1683,8 +1683,13 @@ uiBlock *ui_popup_block_refresh(
|
||||
ar->regiondata = handle;
|
||||
|
||||
/* set UI_BLOCK_NUMSELECT before UI_block_end() so we get alphanumeric keys assigned */
|
||||
if (but == NULL) {
|
||||
block->flag |= UI_BLOCK_POPUP;
|
||||
if (but) {
|
||||
if (but->type == UI_BTYPE_PULLDOWN) {
|
||||
block->flag |= UI_BLOCK_NUMSELECT;
|
||||
}
|
||||
}
|
||||
else {
|
||||
block->flag |= UI_BLOCK_POPUP | UI_BLOCK_NUMSELECT;
|
||||
}
|
||||
|
||||
block->flag |= UI_BLOCK_LOOP;
|
||||
|
Loading…
Reference in New Issue
Block a user