forked from enlightenment/efl
genlist: + warning msg for user notice
don't unrealize reordering item.
This commit is contained in:
parent
7dc5c3863c
commit
66d78a4512
|
@ -580,7 +580,11 @@ _elm_genlist_item_unrealize(Elm_Gen_Item *it,
|
|||
Eina_Bool calc)
|
||||
{
|
||||
if (!it->realized) return;
|
||||
if (GL_IT(it)->wsd->reorder_it == it) return;
|
||||
if (GL_IT(it)->wsd->reorder_it == it)
|
||||
{
|
||||
WRN("reordering item should not be unrealized");
|
||||
return;
|
||||
}
|
||||
|
||||
evas_event_freeze(evas_object_evas_get(WIDGET(it)));
|
||||
if (!calc)
|
||||
|
|
Loading…
Reference in New Issue