UI: add check for any kind of popup
Fixes T56155 when merging into 2.8
This commit is contained in:
@@ -752,6 +752,7 @@ bool ui_but_is_toggle(const uiBut *but);
|
||||
|
||||
extern bool ui_block_is_menu(const uiBlock *block) ATTR_WARN_UNUSED_RESULT;
|
||||
extern bool ui_block_is_pie_menu(const uiBlock *block) ATTR_WARN_UNUSED_RESULT;
|
||||
extern bool ui_block_is_popup_any(const uiBlock *block) ATTR_WARN_UNUSED_RESULT;
|
||||
|
||||
/* interface_context_menu.c */
|
||||
bool ui_popup_context_menu_for_button(struct bContext *C, uiBut *but);
|
||||
|
||||
Reference in New Issue
Block a user