rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=e03bc239b2eba59390c6c6d90b323de7447d29a9
commit e03bc239b2eba59390c6c6d90b323de7447d29a9 Author: Vyacheslav Reutskiy <[email protected]> Date: Mon Feb 13 10:22:32 2017 +0200 property: update outline and shadow color only if state have selected @fix Change-Id: Ic18a067acd3670e33299740ab415ed9612c16a98 --- 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 7a39b7e..442d3db 100644 --- a/src/bin/ui/property/property_group.c +++ b/src/bin/ui/property/property_group.c @@ -2315,6 +2315,7 @@ _update_cb(Property_Attribute *pa, Property_Action *action) property_color_control_color_set(action->control, int_val1, int_val2, int_val3, int_val4); return editor_state_color_default_is(EDIT_OBJ, STATE_ARGS); case ATTRIBUTE_STATE_OUTLINE_COLOR: + if (_state_name_get() == NULL) break; edje_edit_state_outline_color_get(EDIT_OBJ, STATE_ARGS, &int_val1, &int_val2, &int_val3, &int_val4); property_color_control_color_set(action->control, int_val1, int_val2, int_val3, int_val4); effect = edje_edit_part_text_effect_get(EDIT_OBJ, PART_ARGS); @@ -2327,6 +2328,7 @@ _update_cb(Property_Attribute *pa, Property_Action *action) elm_object_disabled_set(action->control, true); return editor_state_outline_color_default_is(EDIT_OBJ, STATE_ARGS); case ATTRIBUTE_STATE_SHADOW_COLOR: + if (_state_name_get() == NULL) break; edje_edit_state_shadow_color_get(EDIT_OBJ, STATE_ARGS, &int_val1, &int_val2, &int_val3, &int_val4); property_color_control_color_set(action->control, int_val1, int_val2, int_val3, int_val4); effect = edje_edit_part_text_effect_get(EDIT_OBJ, PART_ARGS); --
