elm genlist: Fixed tree expand bug. Check item type when an item is
requested to be expanded/contracted. SVN revision: 72790
This commit is contained in:
parent
f4db8e4ec1
commit
a47bf5576f
|
@ -210,3 +210,8 @@
|
|||
|
||||
* elm_progressbar: Add "changed" signal to be emitted when the value
|
||||
is changed.
|
||||
|
||||
2012-06-25 Daniel Juyung Seo (SeoZ)
|
||||
|
||||
* Genlist: Fixed tree expand bug. Check item type when an item is requested
|
||||
to be expanded/contracted.
|
||||
|
|
|
@ -4969,6 +4969,7 @@ elm_genlist_item_expanded_set(Elm_Object_Item *it,
|
|||
Elm_Gen_Item *_it = (Elm_Gen_Item *)it;
|
||||
expanded = !!expanded;
|
||||
if (_it->item->expanded == expanded) return;
|
||||
if (_it->item->type != ELM_GENLIST_ITEM_TREE) return;
|
||||
_it->item->expanded = expanded;
|
||||
_it->wd->expanded_item = _it;
|
||||
_elm_genlist_move_items_set(_it);
|
||||
|
|
Loading…
Reference in New Issue