Fix T75796: Misaligned quit dialog keymap
This commit is contained in:
parent
42224bf623
commit
774b61189c
@ -9799,7 +9799,11 @@ static int ui_handle_menu_event(bContext *C,
|
||||
for (but = block->buttons.first; but; but = but->next) {
|
||||
bool doit = false;
|
||||
|
||||
if (!ELEM(but->type, UI_BTYPE_LABEL, UI_BTYPE_SEPR, UI_BTYPE_SEPR_LINE)) {
|
||||
if (!ELEM(but->type,
|
||||
UI_BTYPE_LABEL,
|
||||
UI_BTYPE_SEPR,
|
||||
UI_BTYPE_SEPR_LINE,
|
||||
UI_BTYPE_IMAGE)) {
|
||||
count++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user