Commit b00ed316 authored by David King's avatar David King

Fix preserving of non-UI tag fields

After refactoring of some of the tag copying functions in
9aad89da, "other" tag fields (those not
shown in the UI, but intended to be preserved) were lost when saving a
file with modified tags. There was one instance in the refactoring where
arguments to et_file_tag_copy_other_into() should have been swapped, and
were not.

Thanks to Philippe Troin for the bug report and initial patch.

https://bugzilla.gnome.org/show_bug.cgi?id=795018
parent 4d388336
......@@ -2080,7 +2080,7 @@ et_application_window_update_et_file_from_ui (EtApplicationWindow *self)
#endif
case APE_TAG:
FileTag = et_application_window_tag_area_create_file_tag (self);
et_file_tag_copy_other_into (et_file->FileTag->data, FileTag);
et_file_tag_copy_other_into (FileTag, et_file->FileTag->data);
break;
#ifndef ENABLE_MP3
case ID3_TAG:
......
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