From 6569c87060f33714edc47d754ff841c7bc9cd903 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 15 Apr 2015 15:55:09 -0500 Subject: [PATCH] Fix for anthology from URLs immediately after making non-EPUB single book. --- calibre-plugin/dialogs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index 31fa407..6020a05 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -398,6 +398,9 @@ class AddNewDialog(SizePersistedDialog): if not self.merge: self.fileform.setCurrentIndex(self.fileform.findText(self.prefs['fileform'])) + else: + # always epub on self.merge (anthology) + self.fileform.setCurrentIndex(self.fileform.findText('epub')) # add collision options self.set_collisions()