Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_templates.c
index 6efaeb882056bf235c959af27d2f065d74d32f77..e3a71feb1a9a4bb23471036dbeea0098fe1a5de9 100644 (file)
@@ -467,11 +467,6 @@ static void template_ID(
                but = uiDefButR(block, UI_BTYPE_TEXT, 0, name, 0, 0, UI_UNIT_X * 6, UI_UNIT_Y,
                                &idptr, "name", -1, 0, 0, -1, -1, RNA_struct_ui_description(type));
                UI_but_funcN_set(but, template_id_cb, MEM_dupallocN(template), SET_INT_IN_POINTER(UI_ID_RENAME));
-
-               but->search_func = id_search_cb;
-               but->search_arg = template;
-               ui_but_search_refresh(but, true);
-
                if (user_alert) UI_but_flag_enable(but, UI_BUT_REDALERT);
 
                if (id->lib) {