fix see word count on source/author, step 2
[fanfix.git] / src / be / nikiroo / fanfix / reader / ui / GuiReaderGroup.java
index efacb1f5f66c74a2282eba79e4b0debddcc98f72..160dfb4d6557859d3195d7a9cf8d031a2ab6a2ed 100644 (file)
@@ -84,12 +84,24 @@ public class GuiReaderGroup extends JPanel {
         * Refresh the list of {@link GuiReaderBook}s displayed in the control.
         * 
         * @param stories
-        *            the stories
+        *            the new list of stories
         * @param seeWordcount
         *            TRUE to see word counts, FALSE to see authors
         */
        public void refreshBooks(List<GuiReaderBookInfo> infos, boolean seeWordcount) {
                this.infos = infos;
+               refreshBooks(seeWordcount);
+       }
+
+       /**
+        * Refresh the list of {@link GuiReaderBook}s displayed in the control.
+        * <p>
+        * Will not change the current stories.
+        * 
+        * @param seeWordcount
+        *            TRUE to see word counts, FALSE to see authors
+        */
+       public void refreshBooks(boolean seeWordcount) {
                this.words = seeWordcount;
 
                books = new ArrayList<GuiReaderBook>();