fix bug in glenlist 4 - item update. updates item vanishes.
authorCarsten Haitzler <raster@rasterman.com>
Mon, 8 Nov 2010 04:33:34 +0000 (04:33 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 8 Nov 2010 04:33:34 +0000 (04:33 +0000)
SVN revision: 54284

src/lib/elm_genlist.c

index 457ef4b..c4f280d 100644 (file)
@@ -1289,6 +1289,7 @@ _item_realize(Elm_Genlist_Item *it, int in, int calc)
    it->order_num_in = in;
 
    itc = _item_cache_find(it);
+   printf("REALIZE item %p, itc = %p\n", it, itc);
    if (itc)
      {
         it->base.view = itc->base_view;
@@ -1797,6 +1798,7 @@ _update_job(void *data)
                     {
                        _item_unrealize(it);
                        _item_realize(it, num, 0);
+                       position = 1;
                     }
                   else
                     {