From 13f028781041d0ea18c004be38169150a97476eb Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 23 Jun 2011 16:05:42 +0000 Subject: [PATCH] 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 --- src/lib/elm_gengrid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4