forked from enlightenment/efl
elm/genlist: unset callbacks flag when destroying view object in unrealize
Summary: failing to unset this prevents callbacks from being re-added when the item is next realized, resulting in items which cannot be interacted with ref T7292 Reviewers: SanghyeonLee Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7292 Differential Revision: https://phab.enlightenment.org/D6832
This commit is contained in:
parent
3065bd054a
commit
dcac8b24f1
|
@ -5286,6 +5286,7 @@ _item_unrealize(Elm_Gen_Item *it)
|
||||||
if (!_item_cache_add(it, _content_cache_add(it, &cache)))
|
if (!_item_cache_add(it, _content_cache_add(it, &cache)))
|
||||||
{
|
{
|
||||||
ELM_SAFE_FREE(VIEW(it), efl_del);
|
ELM_SAFE_FREE(VIEW(it), efl_del);
|
||||||
|
it->callbacks = EINA_FALSE;
|
||||||
ELM_SAFE_FREE(it->spacer, evas_object_del);
|
ELM_SAFE_FREE(it->spacer, evas_object_del);
|
||||||
EINA_LIST_FREE(cache, c)
|
EINA_LIST_FREE(cache, c)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue