jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=5ec2cb8599a6fda12bee916a52c39e8b9515189f

commit 5ec2cb8599a6fda12bee916a52c39e8b9515189f
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Feb 29 16:43:36 2016 +0900

    template: Fix to set edc changed in template_insert().
    
    Set edc changed in template_insert() to save template insertion.
    
    Test Plan:
    1. write a part. (e.g. rect { "rect2";)
    2. insert desc template (ctrl + t)
    2. close edc
    
    When edc is closed without saving after inserting template, warning
    popup should appear.
---
 src/lib/template.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/template.c b/src/lib/template.c
index 561f691..5e519c7 100644
--- a/src/lib/template.c
+++ b/src/lib/template.c
@@ -401,6 +401,7 @@ template_insert(edit_data *ed, 
Enventor_Template_Insert_Type insert_type,
    elm_entry_cursor_pos_set(entry, cursor_pos);
 
    edit_syntax_color_partial_apply(ed, 0);
+   edit_changed_set(ed, EINA_TRUE);
 
    ret = EINA_TRUE;
 

-- 


Reply via email to