jaehyun pushed a commit to branch master.


commit 3eb9a700245b12b891f3b015ff3ced56cfd1c77d
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Wed Feb 24 19:54:00 2016 +0900

    edj_viewer: Show selected part state for newly created group.
    Part state of new group is set before new group is loaded into layout.
    So default part state of new group is displayed instead of selected part
    To fix this issue, part state of new group is set after new group is
    loaded into layout.
 src/lib/edj_viewer.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c
index 1c0b998..505df35 100644
--- a/src/lib/edj_viewer.c
+++ b/src/lib/edj_viewer.c
@@ -163,6 +163,11 @@ view_obj_create_post_job(view_data *vd)
    if (eo_do_ret(vd->enventor, ret, enventor_obj_dummy_parts_get()))
+   if (vd->changed_part.part)
+     edje_edit_part_selected_state_set(vd->layout, vd->changed_part.part,
+                                       vd->changed_part.desc,
+                                       vd->changed_part.state);
    evas_object_smart_callback_call(vd->enventor, SIG_LIVE_VIEW_LOADED,


Reply via email to