UI: moving the cursor to open other popovers

Match menu behavior
This commit is contained in:
Campbell Barton 2018-04-22 18:43:59 +02:00
parent 92404dd48d
commit 0d9c97d170
1 changed files with 1 additions and 1 deletions

View File

@ -9953,7 +9953,7 @@ static int ui_handler_region_menu(bContext *C, const wmEvent *event, void *UNUSE
if ((data->state == BUTTON_STATE_MENU_OPEN) &&
(is_inside_menu == false) && /* make sure mouse isn't inside another menu (see T43247) */
(but->type == UI_BTYPE_PULLDOWN) &&
(ELEM(but->type, UI_BTYPE_PULLDOWN, UI_BTYPE_POPOVER)) &&
(but_other = ui_but_find_mouse_over(ar, event)) &&
(but != but_other) &&
(but->type == but_other->type))