diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index 310629d9..d9dfe58d 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -475,14 +475,15 @@ class AddNewDialog(SizePersistedDialog): self.collision.setCurrentIndex(i) def get_fff_options(self): - retval = { - 'fileform': unicode(self.fileform.currentText()), - 'collision': unicode(self.collision.currentText()), - 'updatemeta': self.updatemeta.isChecked(), - 'bgmeta': False, # self.bgmeta.isChecked(), - 'smarten_punctuation':self.prefs['smarten_punctuation'], - 'do_wordcount':self.prefs['do_wordcount'], - } + retval = dict(self.extraoptions) + retval.update( { + 'fileform': unicode(self.fileform.currentText()), + 'collision': unicode(self.collision.currentText()), + 'updatemeta': self.updatemeta.isChecked(), + 'bgmeta': False, # self.bgmeta.isChecked(), + 'smarten_punctuation':self.prefs['smarten_punctuation'], + 'do_wordcount':self.prefs['do_wordcount'], + } ) if self.merge: retval['fileform']=='epub'