edc_editor: Fix to set edc changed in edit_text_insert().

Set edc changed in edit_text_insert() to save text insertion.

Test Plan:
1. open find/replace (ctrl + f)
2. write strings in "Find:" and "Replace with:"
3. push "Replace all"
4. close edc

When edc is closed without saving after replacing a string, warning
popup should appear.
This commit is contained in:
Jaehyun Cho 2016-02-29 16:36:18 +09:00
parent 5b00c94969
commit b2286162a9
1 changed files with 2 additions and 0 deletions

View File

@ -865,6 +865,8 @@ edit_text_insert(edit_data *ed, const char *text)
evas_textblock_cursor_pos_set(cur, old_pos);
elm_entry_calc_force(ed->en_edit);
edit_changed_set(ed, EINA_TRUE);
free(selection_utf8);
}