diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 11:06:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-17 11:09:05 +0300 |
commit | 774b61189c9f371770b9970eb7b42dd502007d65 (patch) | |
tree | 49371d83aea55f1cd792bb72e42bd90e77876099 | |
parent | 42224bf6237bd7bfd4a81510bdd533648463b5aa (diff) |
Fix T75796: Misaligned quit dialog keymap
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 2b2d91f3a32..d2ae044ea46 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -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++; } |