diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-20 21:26:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-20 21:50:21 +0300 |
commit | da1350acdcb4c335b0082864a8ba16d216544a1e (patch) | |
tree | 661bb9014228a631f08554b4df1dfa2ec2277fd2 /source/blender/editors/include | |
parent | 6500b31728d870506207d9d70837b171cbef32ea (diff) |
Fix T60815: drag & drop crash when search menu is opened immediately after.
Patch by matc, some further refactoring by me.
Differential Revision: https://developer.blender.org/D4250
Diffstat (limited to 'source/blender/editors/include')
-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 80f58a9548b..bd08ed88603 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -846,7 +846,7 @@ bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, i /* bfunc gets search item *poin as arg2, or if NULL the old string */ void UI_but_func_search_set( uiBut *but, uiButSearchCreateFunc cfunc, uiButSearchFunc sfunc, - void *arg1, uiButHandleFunc bfunc, void *active); + void *arg, bool free_arg, uiButHandleFunc bfunc, void *active); /* height in pixels, it's using hardcoded values still */ int UI_searchbox_size_y(void); int UI_searchbox_size_x(void); |