forked from enlightenment/enventor
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:
parent
b2286162a9
commit
5ec2cb8599
|
@ -401,6 +401,7 @@ template_insert(edit_data *ed, Enventor_Template_Insert_Type insert_type,
|
||||||
elm_entry_cursor_pos_set(entry, cursor_pos);
|
elm_entry_cursor_pos_set(entry, cursor_pos);
|
||||||
|
|
||||||
edit_syntax_color_partial_apply(ed, 0);
|
edit_syntax_color_partial_apply(ed, 0);
|
||||||
|
edit_changed_set(ed, EINA_TRUE);
|
||||||
|
|
||||||
ret = EINA_TRUE;
|
ret = EINA_TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue