From 1b9a09a2d3ddd4558c9f440392e50504421ddb2e Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sat, 2 Dec 2017 20:39:39 +0100 Subject: [PATCH] Fix change source update --- src/be/nikiroo/fanfix/library/CacheLibrary.java | 2 ++ src/be/nikiroo/fanfix/library/RemoteLibrary.java | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.27.0