Fix change source update
authorNiki Roo <niki@nikiroo.be>
Sat, 2 Dec 2017 19:39:39 +0000 (20:39 +0100)
committerNiki Roo <niki@nikiroo.be>
Sat, 2 Dec 2017 19:39:39 +0000 (20:39 +0100)
src/be/nikiroo/fanfix/library/CacheLibrary.java
src/be/nikiroo/fanfix/library/RemoteLibrary.java

index d864e2bca13df41e8c7604ea6f75907206e0b848..2ef5b1ebaf1febb82fd2566290deb2648f794138 100644 (file)
@@ -180,6 +180,8 @@ public class CacheLibrary extends BasicLibrary {
                lib.changeSource(luid, newSource, pgOrig);
                pgOrig.done();
 
+               getInfo(luid).setSource(newSource);
+
                pg.done();
        }
 
index 7b52fe3639e9683517b8af88de0f436eb515a451..10cc44de423db239067e7318a667d7dd1e2df468 100644 (file)
@@ -357,6 +357,8 @@ public class RemoteLibrary extends BasicLibrary {
 
                                                rep = send(null);
                                        }
+
+                                       getInfo(luid).setSource(newSource);
                                }
 
                                @Override