From: cedric Date: Thu, 23 Jun 2011 16:05:42 +0000 (+0000) Subject: elementary: elm_gengrid_clear should be the last called. X-Git-Tag: REL_F_I9500_20120323_1~17^2~2504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13f028781041d0ea18c004be38169150a97476eb;p=framework%2Fuifw%2Felementary.git elementary: elm_gengrid_clear should be the last called. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60640 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index d20588a..275cc30 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -1446,6 +1446,7 @@ call: evas_object_smart_callback_call(item->wd->self, SIG_SELECTED, item); item->walking--; item->wd->walking--; + item->wd->last_selected_item = item; if ((item->wd->clear_me) && (!item->wd->walking)) elm_gengrid_clear(item->base.widget); else @@ -1453,7 +1454,6 @@ call: if ((!item->walking) && (item->delete_me)) if (!item->relcount) _item_del(item); } - item->wd->last_selected_item = item; } static void