X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2FLibrary.java;h=68f93c5385c66ea52c7f4bd2fd6d43eb8ed8bb3b;hp=abe760b0d24e31862764093be7bdbcf0b670ce0d;hb=a7d266e6616349169d03e93780fb656754089dd0;hpb=301791d3fc0f152942b542e3d98ebddc0af528f2 diff --git a/src/be/nikiroo/fanfix/Library.java b/src/be/nikiroo/fanfix/Library.java index abe760b..68f93c5 100644 --- a/src/be/nikiroo/fanfix/Library.java +++ b/src/be/nikiroo/fanfix/Library.java @@ -227,7 +227,9 @@ public class Library { * in case of I/O error */ private Story save(Story story, String luid) throws IOException { + // Do not change the original metadata, but change the original story MetaData key = story.getMeta().clone(); + story.setMeta(key); if (luid == null || luid.isEmpty()) { getStories(); // refresh lastId if needed