diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-20 12:53:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-20 14:05:28 +0300 |
commit | c8b293ec057ea9e8fb445ba103cf973cbd03c9f0 (patch) | |
tree | 93a60931519c0ef67e5c1fe91c79c4f6862ea02a /source/blender/editors/include | |
parent | f431c199541e400653e1f8f590934a22b9672dc6 (diff) |
Fix T69097: Empty context menu for dimensions
Adjust empty menu check to skip the menu title.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 6fc71846cbb..5326888036e 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -524,6 +524,7 @@ bool UI_but_is_tool(const uiBut *but); bool UI_but_is_utf8(const uiBut *but); #define UI_but_is_decorator(but) ((but)->func == ui_but_anim_decorate_cb) +bool UI_block_is_empty_ex(const uiBlock *block, const bool skip_title); bool UI_block_is_empty(const uiBlock *block); bool UI_block_can_add_separator(const uiBlock *block); |