newfile: Fix that edj is not reloaded when newly opened edc is changed.

edj was not reloaded when newly opened edc is changed since the new edc
path was not stored in conifg edc path.
This commit is contained in:
Jaehyun Cho 2015-02-27 17:32:24 +09:00
parent 0e885dfd04
commit cf78081977
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ newfile_set(Evas_Object *enventor, Eina_Bool template_new)
eina_file_mkstemp(DEFAULT_EDC_FORMAT, &tmp_path);
sprintf(path, "%s", (const char *)tmp_path);
eina_tmpstr_del(tmp_path);
config_edc_path_set(path);
}
success = eina_file_copy(buf, path,
EINA_FILE_COPY_DATA, NULL, NULL);