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.
This commit is contained in:
Jaehyun Cho 2016-02-29 16:43:36 +09:00
parent b2286162a9
commit 5ec2cb8599
1 changed files with 1 additions and 0 deletions

View File

@ -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;