git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fixes
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
Library.java
diff --git
a/src/be/nikiroo/fanfix/Library.java
b/src/be/nikiroo/fanfix/Library.java
index abe760b0d24e31862764093be7bdbcf0b670ce0d..68f93c5385c66ea52c7f4bd2fd6d43eb8ed8bb3b 100644
(file)
--- 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 {
* 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();
MetaData key = story.getMeta().clone();
+ story.setMeta(key);
if (luid == null || luid.isEmpty()) {
getStories(); // refresh lastId if needed
if (luid == null || luid.isEmpty()) {
getStories(); // refresh lastId if needed