forked from enlightenment/efl
elementary: fix promote on first item and demote on last item of a genlist
SVN revision: 78375
This commit is contained in:
parent
8ef6ac7f41
commit
e451522ac3
|
@ -3723,6 +3723,7 @@ _item_move_after(Elm_Gen_Item *it,
|
|||
{
|
||||
if (!it) return;
|
||||
if (!after) return;
|
||||
if (it == after) return;
|
||||
|
||||
GL_IT(it)->wsd->items =
|
||||
eina_inlist_remove(GL_IT(it)->wsd->items, EINA_INLIST_GET(it));
|
||||
|
@ -3747,6 +3748,7 @@ _item_move_before(Elm_Gen_Item *it,
|
|||
{
|
||||
if (!it) return;
|
||||
if (!before) return;
|
||||
if (it == before) return;
|
||||
|
||||
GL_IT(it)->wsd->items =
|
||||
eina_inlist_remove(GL_IT(it)->wsd->items, EINA_INLIST_GET(it));
|
||||
|
|
Loading…
Reference in New Issue