Summary:
ELM_OBJECT_SELECT_MODE_ALWAYS mode for elm_genlist_item_select_mode
was broken. In the item select routine, item mode(it->mode) was not
checked. So, I added the check routine there.
@fix
Test Plan: I revised the elementary_test code and tested with that.
Reviewers: raster, seoz
Reviewed By: seoz
Subscribers: SanghyeonLee, bluezery
Differential Revision: https://phab.enlightenment.org/D1347
sd->selected =
eina_list_append(sd->selected, it);
}
- else if (sd->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS)
+ else if ((sd->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS) &&
+ (it->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS))
return;
evas_object_ref(obj);