avoid multiple use of one picture when selecting in historic list
SVN revision: 23844
This commit is contained in:
parent
f149741576
commit
993aa12b45
|
@ -82,8 +82,14 @@ Picture *photo_picture_histo_change(Photo_Item *pi, int offset)
|
|||
|
||||
picture = evas_list_nth(pi->histo.list, new_pos);
|
||||
if (picture)
|
||||
pi->histo.pos = new_pos;
|
||||
else
|
||||
{
|
||||
if (!picture->pi && !picture->delete_me)
|
||||
pi->histo.pos = new_pos;
|
||||
else
|
||||
picture = NULL;
|
||||
}
|
||||
|
||||
if (!picture)
|
||||
DPIC(("HISTO change FAILED !!"));
|
||||
|
||||
return picture;
|
||||
|
|
Loading…
Reference in New Issue