rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=06e30903ae0f8d3034e6eb92a9f0988458b2adff

commit 06e30903ae0f8d3034e6eb92a9f0988458b2adff
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Mar 17 14:31:03 2016 +0200

    workspace: don't update the code if mode not MODE_CODE
    
    Change-Id: I53f31f9b342f2df3839d7e2aba496889adf2cfd4
---
 src/bin/ui/workspace/workspace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c
index 1ef182a..1398b3a 100644
--- a/src/bin/ui/workspace/workspace.c
+++ b/src/bin/ui/workspace/workspace.c
@@ -236,6 +236,7 @@ _code_reload(void *data,
    Workspace_Data *wd = data;
    Evas_Object *layout;
 
+   if (MODE_CODE != wd->mode) return;
    elm_entry_entry_set(wd->code.obj, _group_code_get(wd));
    layout = elm_object_part_content_unset(wd->code.obj, "elm.swallow.overlay");
    evas_object_del(layout);

-- 


Reply via email to