From 5981a4003d3e26b0a1a9af3a966021a2b3372fac Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 12 Nov 2014 16:29:18 +0530 Subject: [PATCH] Restore auto-convert on add --- src/calibre/gui2/add2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/gui2/add2.py b/src/calibre/gui2/add2.py index 93fc76eb0d..127b713f7a 100644 --- a/src/calibre/gui2/add2.py +++ b/src/calibre/gui2/add2.py @@ -410,6 +410,10 @@ class Adder(QObject): '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) + 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: if callable(self.callback): self.callback(self)