Commit 8652c61e authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

Copy document metadata to the new file when saving a copy
parent fd2b09ad
......@@ -1185,6 +1185,10 @@ ev_job_save_run (EvJob *job)
ev_xfer_uri_simple (local_uri, job_save->uri, &error);
ev_tmp_uri_unlink (local_uri);
/* Copy the metadata from the original file */
if (!error)
ev_file_copy_metadata (job_save->document_uri, job_save->uri, &error);
if (error) {
ev_job_failed_from_error (job, error);
g_error_free (error);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment