X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix_swing%2Fgui%2FBooksPanel.java;h=8a882136e3803e856ea0bd9cc36f862dc9118a04;hp=73de77e974d7e6e313489ffb3b17ba969c1540b5;hb=42797eff5b7bf96a93bcd79ffa2ce62d256ef35d;hpb=77e5ecd4fc25c052340fc00cc974972b2323d3d1 diff --git a/src/be/nikiroo/fanfix_swing/gui/BooksPanel.java b/src/be/nikiroo/fanfix_swing/gui/BooksPanel.java index 73de77e..8a88213 100644 --- a/src/be/nikiroo/fanfix_swing/gui/BooksPanel.java +++ b/src/be/nikiroo/fanfix_swing/gui/BooksPanel.java @@ -129,7 +129,7 @@ public class BooksPanel extends ListenerPanel { protected List doInBackground() throws Exception { List bookInfos = new ArrayList(); BasicLibrary lib = Instance.getInstance().getLibrary(); - for (MetaData meta : lib.getList(null).filter(sources, authors, tags)) { + for (MetaData meta : lib.getList().filter(sources, authors, tags)) { bookInfos.add(BookInfo.fromMeta(lib, meta)); } @@ -232,6 +232,7 @@ public class BooksPanel extends ListenerPanel { @Override public void invalidateCache() { + // TODO: also reset the popup menu for sources/author fireActionPerformed(INVALIDATE_CACHE); } });