summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Vorobiov <vi.vorobiov@samsung.com>2015-03-04 18:40:41 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-04 18:40:42 +0900
commitd4142dd239b116f51fa5b33cea6a2f690cde2086 (patch)
tree3f14e15f403a3e7307f4c65b8f2bdb28d2cbd8d8
parentc4a1e50c4ff519be95491f1b02700e01866d6db0 (diff)
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
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index d8e9d6b40..9258cda07 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4717,8 +4717,6 @@ _item_mouse_up_cb(void *data,
4717 if (sd->longpressed) 4717 if (sd->longpressed)
4718 { 4718 {
4719 sd->longpressed = EINA_FALSE; 4719 sd->longpressed = EINA_FALSE;
4720 if ((!sd->wasselected) && (!it->flipped))
4721 _item_unselect(it);
4722 sd->wasselected = EINA_FALSE; 4720 sd->wasselected = EINA_FALSE;
4723 return; 4721 return;
4724 } 4722 }