multibuttonentry: fix Segfault on pressing Delete Key
authordivyesh purohit <div.purohit@samsung.com>
Fri, 5 Feb 2016 06:16:13 +0000 (07:16 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 5 Feb 2016 07:45:19 +0000 (08:45 +0100)
commitf297faaa6b019fb468085f896654029cd9deb68d
tree6087636aba2ed169e2b44f65585ae3977acf0d3d
parent1048ce14b312b2956325a01d90746f5f5d1f3037
multibuttonentry: fix Segfault on pressing Delete Key

Summary:
Pressing "Delete" Key in MBE layout causes Segfault as MBE item is not deleted properly and also focus is not transferred back to MBE.

@fix

Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan: Run MultibuttonEntry example from elementart_test . Add some MBE items, now press the delete key, it should delete items without causing segfaults and transfer focus to previous MBE item.

Reviewers: raster, cedric, CHAN, shilpasingh

Reviewed By: shilpasingh

Subscribers: rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D3635

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/src/lib/elc_multibuttonentry.c