diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 05:57:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 05:57:16 +0300 |
commit | 69b66d549bcc82b5667916e647d43578bada5dd2 (patch) | |
tree | d547988157561f79aefe5e3ee0cb7a2119c68c52 /source/blender/editors/space_node/node_select.c | |
parent | aefb68c84d574359a20f61868b84b320b4aa0496 (diff) |
UI: Add search-create callback
Needed to support alternate search UI's, no functional changes.
Diffstat (limited to 'source/blender/editors/space_node/node_select.c')
-rw-r--r-- | source/blender/editors/space_node/node_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c index e2968b7003c..7195d2a9838 100644 --- a/source/blender/editors/space_node/node_select.c +++ b/source/blender/editors/space_node/node_select.c @@ -1018,7 +1018,7 @@ static uiBlock *node_find_menu(bContext *C, ARegion *ar, void *arg_op) UI_block_flag_enable(block, UI_BLOCK_LOOP | UI_BLOCK_MOVEMOUSE_QUIT | UI_BLOCK_SEARCH_MENU); but = uiDefSearchBut(block, search, 0, ICON_VIEWZOOM, sizeof(search), 10, 10, 9 * UI_UNIT_X, UI_UNIT_Y, 0, 0, ""); - UI_but_func_search_set(but, node_find_cb, op->type, node_find_call_cb, NULL); + UI_but_func_search_set(but, NULL, node_find_cb, op->type, node_find_call_cb, NULL); /* fake button, it holds space for search items */ uiDefBut(block, UI_BTYPE_LABEL, 0, "", 10, 10 - UI_searchbox_size_y(), UI_searchbox_size_x(), UI_searchbox_size_y(), NULL, 0, 0, 0, 0, NULL); |