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:
parent
8eee867fac
commit
d0711f859d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue