Fix T75796: Misaligned quit dialog keymap

This commit is contained in:
Campbell Barton 2020-04-17 18:06:56 +10:00
parent 42224bf623
commit 774b61189c
Notes: blender-bot 2023-02-14 06:17:14 +01:00
Referenced by issue #75796, The keymap of the quit dialog is misaligned
1 changed files with 5 additions and 1 deletions

View File

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