From: Niki Roo Date: Sat, 2 Dec 2017 19:39:39 +0000 (+0100) Subject: Fix change source update X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=1b9a09a2d3ddd4558c9f440392e50504421ddb2e;p=fanfix-jexer.git Fix change source update --- diff --git a/src/be/nikiroo/fanfix/library/CacheLibrary.java b/src/be/nikiroo/fanfix/library/CacheLibrary.java index d864e2b..2ef5b1e 100644 --- a/src/be/nikiroo/fanfix/library/CacheLibrary.java +++ b/src/be/nikiroo/fanfix/library/CacheLibrary.java @@ -180,6 +180,8 @@ public class CacheLibrary extends BasicLibrary { lib.changeSource(luid, newSource, pgOrig); pgOrig.done(); + getInfo(luid).setSource(newSource); + pg.done(); } diff --git a/src/be/nikiroo/fanfix/library/RemoteLibrary.java b/src/be/nikiroo/fanfix/library/RemoteLibrary.java index 7b52fe3..10cc44d 100644 --- a/src/be/nikiroo/fanfix/library/RemoteLibrary.java +++ b/src/be/nikiroo/fanfix/library/RemoteLibrary.java @@ -357,6 +357,8 @@ public class RemoteLibrary extends BasicLibrary { rep = send(null); } + + getInfo(luid).setSource(newSource); } @Override