Genlist: make reordered item selected

Restacking not selected item should be selected after it is done.

@fix

Test Plan:
1. run in console
> elementary_test "Genlist Reorder Mode"
2. Switch to reorder mode
3. Select Item #6
4. Try to restack Item #4
(not selecting it, but holding mouse on it and moving down)
5. See that Item #4 and Item #6 is not selected

Reviewers: cedric, Hermet, raster, seoz

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1931
This commit is contained in:
Vitalii Vorobiov 2015-03-04 18:40:41 +09:00 committed by Carsten Haitzler (Rasterman)
parent 17ffbd6448
commit 46cdb168e8
1 changed files with 0 additions and 2 deletions

View File

@ -4717,8 +4717,6 @@ _item_mouse_up_cb(void *data,
if (sd->longpressed)
{
sd->longpressed = EINA_FALSE;
if ((!sd->wasselected) && (!it->flipped))
_item_unselect(it);
sd->wasselected = EINA_FALSE;
return;
}