[jsword-svn] r2237 - trunk/jsword/src/main/java/org/crosswire/jsword/book

mjdenham at crosswire.org mjdenham at crosswire.org
Tue Mar 27 10:21:53 MST 2012


Author: mjdenham
Date: 2012-03-27 10:21:52 -0700 (Tue, 27 Mar 2012)
New Revision: 2237

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/book/Books.java
Log:
JS-215: listener.bookAdded was called when a book was removed

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/Books.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/Books.java	2012-03-07 19:32:37 UTC (rev 2236)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/Books.java	2012-03-27 17:21:52 UTC (rev 2237)
@@ -248,7 +248,7 @@
 
         boolean removed = books.remove(book);
         if (removed) {
-            fireBooksChanged(instance, book, true);
+            fireBooksChanged(instance, book, false);
         } else {
             throw new BookException(JSOtherMsg.lookupText("Could not remove unregistered Book: {0}", book.getName()));
         }




More information about the jsword-svn mailing list