lib: fix to not display file modification warning box.

don't display file modification warning box in launching envetor with template select menu.
This commit is contained in:
ChunEon Park 2015-03-01 02:30:13 +09:00
parent f3f0c30c8a
commit a22815cbfd
2 changed files with 2 additions and 2 deletions

View File

@ -1285,7 +1285,7 @@ edit_load(edit_data *ed, const char *edc_path)
elm_entry_entry_set(ed->en_edit, "");
elm_entry_entry_set(ed->en_line, "");
Eina_Bool ret = edit_edc_load(ed, edc_path);
edit_changed_set(ed, EINA_TRUE);
if (ret) edit_changed_set(ed, EINA_TRUE);
edj_mgr_reload_need_set(EINA_TRUE);
redoundo_clear(ed->rd);

View File

@ -218,8 +218,8 @@ _enventor_object_efl_file_file_set(Eo *obj EINA_UNUSED,
{
eio_monitor_del(pd->edc_monitor);
build_edc_path_set(file);
if (!edit_load(pd->ed, file)) goto err;
autocomp_target_set(pd->ed);
if (!edit_load(pd->ed, file)) goto err;
pd->edc_monitor = eio_monitor_add(file);
build_edc();
edit_changed_set(pd->ed, EINA_FALSE);