forked from enlightenment/efl
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at item_state_update I fixed minor error in _elm_genlist_item_state_update. If item is selected, it sends signal to item and edit_obj. But edit_obj is not checked by if statement. I added a parenthesis for it. SVN revision: 69538
This commit is contained in:
parent
d99ac5282c
commit
10c061ab3c
|
@ -1744,12 +1744,14 @@ _elm_genlist_item_state_update(Elm_Gen_Item *it, Item_Cache *itc)
|
|||
if (it->selected != itc->selected)
|
||||
{
|
||||
if (it->selected)
|
||||
edje_object_signal_emit(VIEW(it),
|
||||
"elm,state,selected", "elm");
|
||||
{
|
||||
edje_object_signal_emit(VIEW(it),
|
||||
"elm,state,selected", "elm");
|
||||
|
||||
if (it->edit_obj)
|
||||
edje_object_signal_emit(it->edit_obj,
|
||||
"elm,state,selected", "elm");
|
||||
if (it->edit_obj)
|
||||
edje_object_signal_emit(it->edit_obj,
|
||||
"elm,state,selected", "elm");
|
||||
}
|
||||
}
|
||||
if (elm_widget_item_disabled_get(it) != itc->disabled)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue