Fix for D/L from URL Mode Menu actions not honoring changed update mode in dialog.

This commit is contained in:
Jim Miller 2024-10-29 16:15:06 -05:00
parent 3febac62a8
commit 2e6ac07020

View file

@ -475,14 +475,15 @@ class AddNewDialog(SizePersistedDialog):
self.collision.setCurrentIndex(i) self.collision.setCurrentIndex(i)
def get_fff_options(self): def get_fff_options(self):
retval = { retval = dict(self.extraoptions)
'fileform': unicode(self.fileform.currentText()), retval.update( {
'collision': unicode(self.collision.currentText()), 'fileform': unicode(self.fileform.currentText()),
'updatemeta': self.updatemeta.isChecked(), 'collision': unicode(self.collision.currentText()),
'bgmeta': False, # self.bgmeta.isChecked(), 'updatemeta': self.updatemeta.isChecked(),
'smarten_punctuation':self.prefs['smarten_punctuation'], 'bgmeta': False, # self.bgmeta.isChecked(),
'do_wordcount':self.prefs['do_wordcount'], 'smarten_punctuation':self.prefs['smarten_punctuation'],
} 'do_wordcount':self.prefs['do_wordcount'],
} )
if self.merge: if self.merge:
retval['fileform']=='epub' retval['fileform']=='epub'