Fix remove by label

SVN revision: 19345
This commit is contained in:
Christopher Michael 2005-12-28 17:01:34 +00:00
parent ed57000bf5
commit 6d8b0305d0
1 changed files with 1 additions and 4 deletions

View File

@ -174,10 +174,7 @@ e_ilist_selected_label_get(Evas_Object *obj)
API_ENTRY return NULL;
if (!sd->items) return NULL;
si = evas_list_nth(sd->items, sd->selected);
if (si)
{
return edje_object_part_text_get(si->base_obj, "label");
}
if (si) return edje_object_part_text_get(si->base_obj, "label");
return NULL;
}