From da1350acdcb4c335b0082864a8ba16d216544a1e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 20 Mar 2019 19:26:54 +0100 Subject: 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 --- source/blender/editors/include/UI_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include') 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); -- cgit v1.2.3