hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=825af0c89c25d0c0975f5b916a083f9e19b57f20

commit 825af0c89c25d0c0975f5b916a083f9e19b57f20
Author: jinwoo.shin <jw0227.s...@samsung.com>
Date:   Wed Dec 7 13:57:56 2016 +0900

    genlist : fix cannot scroll to item after call elm_genlist_item_update
    
    Summary: Fix cannot scroll to item after call elm_genlist_item_update
    
    Test Plan: https://phab.enlightenment.org/T4974
    
    Reviewers: Hermet
    
    Reviewed By: Hermet
    
    Subscribers: SanghyeonLee, minkyu, cedric, jpeg
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D4460
---
 src/lib/elementary/elm_genlist.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index ba727ed..7e7a30c 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -6979,10 +6979,15 @@ _elm_genlist_item_coordinates_calc(Elm_Gen_Item *it,
      {
         if ((it->item->queued) || (!it->item->mincalcd) || (sd->queue))
           {
+             sd->check_scroll = EINA_TRUE;
              sd->show_item = it;
              sd->bring_in = bring_in;
              sd->scroll_to_type = type;
              it->item->show_me = EINA_TRUE;
+
+             ecore_job_del(sd->calc_job);
+             sd->calc_job = ecore_job_add(_calc_job, sd->obj);
+
              return EINA_FALSE;
           }
      }

-- 


Reply via email to