elm_genlist: Fix looping in case first or last item is disabled. 38/221038/1
authorDheeraj Reddy <dheeraj.sj@samsung.com>
Thu, 26 Dec 2019 19:25:19 +0000 (00:55 +0530)
committerDheeraj Reddy <dheeraj.sj@samsung.com>
Thu, 26 Dec 2019 19:35:04 +0000 (01:05 +0530)
commit653dafe7ab0f8750f302fddbe4fa7c21104ca9e4
tree19cc7f96c6c407470a8a068164b1068d62ad163e
parent1ba768d18f08433204588c611aa74f7e1913b868
elm_genlist: Fix looping in case first or last item is disabled.

Summary:
Issue with item focus in loop-up when last item is disabled,
check is added to get previous valid item in this case.
Similar change added to loop-down handling.

Change-Id: I2c7b413f29d84b2f5b82d207532c183865082f12
Signed-off-by: Dheeraj Reddy <dheeraj.sj@samsung.com>
src/lib/elementary/elm_genlist.c