mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
802b5a6a4c
commit
73c54d9299
@ -40,7 +40,9 @@ class MultiDeleter(QObject):
|
||||
id_ = self.ids.pop()
|
||||
title = 'id%d'%id_
|
||||
try:
|
||||
title = self.model.db.title(id_, index_is_id=True)
|
||||
title_ = self.model.db.title(id_, index_is_id=True)
|
||||
if title_:
|
||||
title = title
|
||||
self.model.db.delete_book(id_, notify=False, commit=False)
|
||||
self.deleted_ids.append(id_)
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user