1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

fixed 'remove from favorites' operation

This commit is contained in:
Nikolay Pultsin 2011-09-29 00:07:22 +01:00
parent 8eee867fac
commit d0711f859d

View file

@ -536,6 +536,7 @@ public final class Library {
public void removeBookFromFavorites(Book book) {
if (getFirstLevelTree(ROOT_FAVORITES).removeBook(book, false)) {
BooksDatabase.Instance().removeFromFavorites(book.getId());
fireModelChangedEvent(ChangeListener.Code.BookRemoved);
}
}