eo_do(obj, elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_UNKNOWN));
/* TIZEN_ONLY(20161117): Inherit paragraph direction from widget parent */
- if (sd->paragraph_direction != evas_object_paragraph_direction_get(parent))
+ if (eo_isa(parent, ELM_WIDGET_CLASS))
{
- sd->paragraph_direction = evas_object_paragraph_direction_get(parent);
- _elm_widget_evas_object_paragraph_direction_set_internal(obj, sd, sd->paragraph_direction);
- eo_do_super(obj, MY_CLASS, evas_obj_paragraph_direction_set(sd->paragraph_direction));
+ if (sd->paragraph_direction != evas_object_paragraph_direction_get(parent))
+ {
+ sd->paragraph_direction = evas_object_paragraph_direction_get(parent);
+ _elm_widget_evas_object_paragraph_direction_set_internal(obj, sd, sd->paragraph_direction);
+ eo_do_super(obj, MY_CLASS, evas_obj_paragraph_direction_set(sd->paragraph_direction));
+ }
}
/* END */