Revert "Disable key accelerators for splash screen"
This reverts commit 7b0c327b94.
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user