Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_region_tooltip.c
index 70e0f07ea6c7d07962d4121fd6074c3be87435a0..f71b71fce4351fb3dd691a06d242e3023ef9ac34 100644 (file)
@@ -492,7 +492,7 @@ static uiTooltipData *ui_tooltip_data_from_button(bContext *C, uiBut *but)
 
                if (but->rnapoin.id.data) {
                        const ID *id = but->rnapoin.id.data;
-                       if (ID_IS_LINKED_DATABLOCK(id)) {
+                       if (ID_IS_LINKED(id)) {
                                uiTooltipField *field = text_field_add(
                                        data, &(uiTooltipFormat){
                                            .style = UI_TIP_STYLE_NORMAL,