This commit is contained in:
Kovid Goyal 2011-02-20 15:38:52 -07:00
parent f1b3ee781b
commit b6b942b617

View File

@ -267,6 +267,9 @@ class AddAction(InterfaceAction):
info_dialog(self.gui, _('Merged some books'), info_dialog(self.gui, _('Merged some books'),
_('The following duplicate books were found and incoming book formats were ' _('The following duplicate books were found and incoming book formats were '
'processed and merged into your Calibre database according to your automerge settings:'), det_msg=books, show=True) 'processed and merged into your Calibre database according to your automerge settings:'), det_msg=books, show=True)
if getattr(self._adder, 'number_of_books_added', 0) > 0 or \
getattr(self._adder, 'merged_books', False):
# The formats of the current book could have changed if # The formats of the current book could have changed if
# automerge is enabled # automerge is enabled
current_idx = self.gui.library_view.currentIndex() current_idx = self.gui.library_view.currentIndex()