rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=52b537bc4ae831e50d2a0e5331fdf65b73402d00

commit 52b537bc4ae831e50d2a0e5331fdf65b73402d00
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Jul 16 15:31:03 2015 +0300

    groupedit: fix unselect
---
 src/bin/ui/workspace/groupedit.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/bin/ui/workspace/groupedit.c b/src/bin/ui/workspace/groupedit.c
index 45916e9..604644f 100644
--- a/src/bin/ui/workspace/groupedit.c
+++ b/src/bin/ui/workspace/groupedit.c
@@ -641,11 +641,13 @@ groupedit_edit_object_part_select(Evas_Object *obj, const 
char *part)
    Groupedit_Part *gp;
    WS_GROUPEDIT_DATA_GET(obj, sd);
 
-   assert(part != NULL);
-
-   gp = _parts_list_find(sd->parts, part);
-
-   assert(gp != NULL);
+   if (part)
+     {
+        gp = _parts_list_find(sd->parts, part);
+        assert(gp != NULL);
+     }
+   else
+     gp = NULL;
 
    if (!sd->separated) sd->selected = gp;
    else

-- 


Reply via email to