Revert "Revert "Disable key accelerators for splash screen""

This reverts commit 7f3dcbe17f.

Please check with authors first, this bug was already fixed since RC1.
This commit is contained in:
Campbell Barton
2015-06-15 10:59:49 +10:00
parent 7f3dcbe17f
commit 3efc0aca54

View File

@@ -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;