Fix crash accessing nodes search menu

Was caused by d49985c.
This commit is contained in:
Sergey Sharybin 2016-03-02 17:57:16 +05:00
parent 83824947ba
commit bee0a7587b

@ -4411,7 +4411,7 @@ uiBut *uiDefSearchButO_ptr(
but = uiDefSearchBut(block, arg, retval, icon, maxlen, x, y, width, height, a1, a2, tip);
UI_but_func_search_set(
but, ui_searchbox_create_operator, operator_enum_search_cb,
but, ui_searchbox_create_generic, operator_enum_search_cb,
but, operator_enum_call_cb, NULL);
but->optype = ot;