projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38db567
)
[genlist] check flags in elm_genlist_item_expanded_set
author
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 13 Jul 2011 08:15:41 +0000
(17:15 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 13 Jul 2011 08:15:41 +0000
(17:15 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
8793908
..
a1dce1d
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-4487,6
+4487,7
@@
elm_genlist_item_expanded_set(Elm_Genlist_Item *it,
Eina_Bool expanded)
{
ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it);
+ if (it->flags != ELM_GENLIST_ITEM_SUBITEMS) return;
if (it->expanded == expanded) return;
it->expanded = expanded;
it->wd->expand_item = it;