Genlist: reset item tree expanded state when putting item in cache
authorDave Andreoli <dave@gurumeditation.it>
Thu, 27 Aug 2015 19:37:50 +0000 (21:37 +0200)
committerDave Andreoli <dave@gurumeditation.it>
Thu, 27 Aug 2015 19:40:08 +0000 (21:40 +0200)
commit38aac7342b16814ebf22819ded290d86d8baa204
treeccb1d9507a8c89da24611c0b1736523dc8dc2ad4
parentffafa42e301100a5bd2afddaf6ee5eb83f5e80d7
Genlist: reset item tree expanded state when putting item in cache

Item expandend state need to be resetted (contracted) when the
item goes in the items cache, otherwise when the item will be reused
it will have unwanted state (expanded).

Quite visible in the "Genlist Tree and Decorate All Mode" test

@fix
src/lib/elm_genlist.c