genlist: + warning msg for user notice

don't unrealize reordering item.
This commit is contained in:
ChunEon Park 2014-12-30 17:56:24 +09:00
parent 7dc5c3863c
commit 66d78a4512
1 changed files with 5 additions and 1 deletions

View File

@ -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)