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