rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=56de9e0cb73aef0c5424035d28885d845e25962e

commit 56de9e0cb73aef0c5424035d28885d845e25962e
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Tue Oct 25 15:26:12 2016 +0300

    property_group: use correct currently selected resource on property 
filtering
    
    Fixes T4690
---
 src/bin/ui/property/property_group.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 3ccf9c2..1469386 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -441,6 +441,8 @@ _filter_cb(Property_Attribute *pa)
            return !!(pa->filter_data.part_types & PART_MASK(((Part2 
*)group_pd.group->current_selected)->type));
          else if (group_pd.group->current_selected->common.type == 
RESOURCE2_TYPE_STATE)
            return !!(pa->filter_data.part_types & PART_MASK(((State2 
*)group_pd.group->current_selected)->part->type));
+         else if (group_pd.group->current_selected->common.type == 
RESOURCE2_TYPE_ITEM)
+           return !!(pa->filter_data.part_types & PART_MASK(((Part_Item2 
*)group_pd.group->current_selected)->part->type));
          else if (group_pd.group->current_selected->common.type == 
RESOURCE2_TYPE_PROGRAM)
            return !!(pa->filter_data.action_types & ACTION_MASK(((Program2 
*)group_pd.group->current_selected)->type));
          else

-- 


Reply via email to