mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Restore auto-convert on add
This commit is contained in:
parent
7259bc8b08
commit
5981a4003d
@ -410,6 +410,10 @@ class Adder(QObject):
|
|||||||
'Failed to add any books, click "Show details" for more information')
|
'Failed to add any books, click "Show details" for more information')
|
||||||
d(self.pd, _('Errors while adding'), msg, det_msg='\n'.join(self.report), show=True)
|
d(self.pd, _('Errors while adding'), msg, det_msg='\n'.join(self.report), show=True)
|
||||||
|
|
||||||
|
if gprefs['manual_add_auto_convert'] and self.added_book_ids and self.parent() is not None:
|
||||||
|
self.parent().iactions['Convert Books'].auto_convert_auto_add(
|
||||||
|
self.added_book_ids)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if callable(self.callback):
|
if callable(self.callback):
|
||||||
self.callback(self)
|
self.callback(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user