edit: When running as an editor use HOME.

This makes editing more reliable outwith a programming project.
This commit is contained in:
Alastair Poole 2020-01-12 18:25:38 +00:00
parent 12e17ee86e
commit 013314d4a0
1 changed files with 1 additions and 1 deletions

View File

@ -1745,7 +1745,7 @@ edi_open(const char *inputpath)
if (edi_project_mode_get())
content = edi_content_setup(vbx, path);
else
content = edi_content_setup(vbx, ecore_file_dir_get(path));
content = edi_content_setup(vbx, edi_project_get());
evas_object_size_hint_weight_set(content, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(content, EVAS_HINT_FILL, EVAS_HINT_FILL);