rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=2f035fc00913c39820d052c8959c67d2acd7c25a
commit 2f035fc00913c39820d052c8959c67d2acd7c25a Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Tue Jun 20 11:10:52 2017 +0300 property: correct update 'filter' combobox data on part delete @fix Fixes T5571 --- src/bin/ui/property/property_group.c | 13 ++++++++----- src/bin/ui/workspace/group_navigator.c | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/bin/ui/property/property_group.c b/src/bin/ui/property/property_group.c index 53337c8ab..f7898a39b 100644 --- a/src/bin/ui/property/property_group.c +++ b/src/bin/ui/property/property_group.c @@ -1331,7 +1331,7 @@ static void _parts_combobox_fill(Evas_Object *combo, const char *selected, int allowed_types_mask) { Eina_List *l; - Part2 *part, *part_check; + Part2 *part, *part_check = NULL; unsigned int i = 1; Combobox_Item *combobox_item; Elm_Genlist_Item_Class *itc; @@ -1352,10 +1352,13 @@ _parts_combobox_fill(Evas_Object *combo, const char *selected, int allowed_types combobox_item, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); - if (group_pd.group->current_selected->common.type == RESOURCE2_TYPE_STATE) - part_check = ((State2 *)group_pd.group->current_selected)->part; - else - part_check = (Part2 *)group_pd.group->current_selected; + if (group_pd.group->current_selected) + { + if (group_pd.group->current_selected->common.type == RESOURCE2_TYPE_STATE) + part_check = ((State2 *)group_pd.group->current_selected)->part; + else + part_check = (Part2 *)group_pd.group->current_selected; + } if (allowed_types_mask) { diff --git a/src/bin/ui/workspace/group_navigator.c b/src/bin/ui/workspace/group_navigator.c index d3d132060..63996b347 100644 --- a/src/bin/ui/workspace/group_navigator.c +++ b/src/bin/ui/workspace/group_navigator.c @@ -1909,6 +1909,7 @@ _part_del(Part_List *pl, assert(glit != NULL); part = elm_object_item_data_get(glit); + _unselect_internal(pl); part_name = eina_stringshare_add(part->common.name); msg = eina_stringshare_printf(_("deleted part \"%s\""), part_name); --