forked from enlightenment/efl
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:
parent
17ffbd6448
commit
46cdb168e8
|
@ -4717,8 +4717,6 @@ _item_mouse_up_cb(void *data,
|
||||||
if (sd->longpressed)
|
if (sd->longpressed)
|
||||||
{
|
{
|
||||||
sd->longpressed = EINA_FALSE;
|
sd->longpressed = EINA_FALSE;
|
||||||
if ((!sd->wasselected) && (!it->flipped))
|
|
||||||
_item_unselect(it);
|
|
||||||
sd->wasselected = EINA_FALSE;
|
sd->wasselected = EINA_FALSE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue