diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-10 07:17:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-10 07:17:33 +0400 |
commit | 3432f34d059381546df8b202263a243f0656df38 (patch) | |
tree | d77da84be1bc97e43bc9fe6f606175476346c1e1 /source/blender/editors/include/UI_interface.h | |
parent | 05dfd852ec629414acfca66348795ad32ef81f24 (diff) |
UI: report if WM_OT_call_menu uses an unknown menu
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 55c15ab60ad..71d55c73faa 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -349,7 +349,7 @@ void uiPupMenuEnd(struct bContext *C, struct uiPopupMenu *head); struct uiLayout *uiPupMenuLayout(uiPopupMenu *head); void uiPupMenuReports(struct bContext *C, struct ReportList *reports) ATTR_NONNULL(); -void uiPupMenuInvoke(struct bContext *C, const char *idname) ATTR_NONNULL(); +bool uiPupMenuInvoke(struct bContext *C, const char *idname, struct ReportList *reports) ATTR_NONNULL(1, 2); /* Popup Blocks * |