2.5: Added operator ui() callback for defining own ui layout
[blender.git] / source / blender / editors / interface / interface_utils.c
index f8578be1f332466fedce6a8118018f96523a8ef5..4201850f5e439029ec1ad746c9ec1e4d1b19b8d4 100644 (file)
@@ -152,8 +152,6 @@ void uiDefAutoButsRNA(const bContext *C, uiLayout *layout, PointerRNA *ptr, int
        uiLayout *split, *col;
        char *name;
 
-       uiItemL(layout, (char*)RNA_struct_ui_name(ptr->type), 0);
-
        RNA_STRUCT_BEGIN(ptr, prop) {
                if(strcmp(RNA_property_identifier(prop), "rna_type") == 0)
                        continue;