forked from enlightenment/enventor
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:
parent
0e885dfd04
commit
cf78081977
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue