gengrid: Fixed _item_unselect to check select value not highlight value.

This caused infinite loop in a DISPLAY_ONLY mode on clicking an item.

@fix
This commit is contained in:
Daniel Juyung Seo 2014-08-22 01:10:07 +09:00
parent 509112325d
commit 844ff540cb
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ _item_unselect(Elm_Gen_Item *it)
Elm_Gen_Item_Type *item = GG_IT(it);
Elm_Gengrid_Data *sd = item->wsd;
if ((it->generation < sd->generation) || (!it->highlighted))
if ((it->generation < sd->generation) || (!it->selected))
return;
edje_object_signal_emit(VIEW(it), "elm,state,unselected", "elm");