mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #1092304 (Blanking book details on 'email to and delete from library')
This commit is contained in:
parent
b8340b0644
commit
1b1e7f85ad
@ -273,7 +273,10 @@ class EmailMixin(object): # {{{
|
||||
5000)
|
||||
if remove:
|
||||
try:
|
||||
next_id = self.library_view.next_id
|
||||
self.library_view.model().delete_books_by_id(remove)
|
||||
self.iactions['Remove Books'].library_ids_deleted2(remove,
|
||||
next_id=next_id)
|
||||
except:
|
||||
import traceback
|
||||
# Probably the user deleted the files, in any case, failing
|
||||
|
Loading…
x
Reference in New Issue
Block a user