forked from enlightenment/efl
elm/genlist: fix item focus unregister on item move
if the block is realized, its items have been registered into the focus manager and must be unregistered to avoid double-registering @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10544
This commit is contained in:
parent
0d845057cc
commit
1800f060c8
|
@ -3701,6 +3701,7 @@ _item_block_del(Elm_Gen_Item *it)
|
|||
itb->count--;
|
||||
itb->changed = EINA_TRUE;
|
||||
efl_canvas_group_change(sd->obj);
|
||||
if (itb->realized) efl_ui_focus_manager_calc_unregister(itb->sd->obj, EO_OBJ(it));
|
||||
if (itb->count < 1)
|
||||
{
|
||||
Item_Block *itbn;
|
||||
|
|
Loading…
Reference in New Issue