From be71fa747e72c3bf2c545635f2ac674f1b0289ed Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 22 Apr 2015 08:11:14 +0530 Subject: [PATCH] Fix a regression in 2.25 that broke the search & replace wizard in the conversion dialog when converting a book with multiple formats --- src/calibre/gui2/dialogs/choose_format.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/choose_format.py b/src/calibre/gui2/dialogs/choose_format.py index 49c0a46600..d6390ec8d5 100644 --- a/src/calibre/gui2/dialogs/choose_format.py +++ b/src/calibre/gui2/dialogs/choose_format.py @@ -43,7 +43,8 @@ class ChooseFormatDialog(QDialog): self._formats = formats self.formats.setCurrentRow(0) self._format = self.open_with_format = None - self.populate_open_with() + if show_open_with: + self.populate_open_with() def populate_open_with(self): from calibre.gui2.open_with import populate_menu, edit_programs