Fix a regression in 2.25 that broke the search & replace wizard in the conversion dialog when converting a book with multiple formats

This commit is contained in:
Kovid Goyal 2015-04-22 08:11:14 +05:30
parent 2be2fb844d
commit be71fa747e

View File

@ -43,7 +43,8 @@ class ChooseFormatDialog(QDialog):
self._formats = formats self._formats = formats
self.formats.setCurrentRow(0) self.formats.setCurrentRow(0)
self._format = self.open_with_format = None self._format = self.open_with_format = None
self.populate_open_with() if show_open_with:
self.populate_open_with()
def populate_open_with(self): def populate_open_with(self):
from calibre.gui2.open_with import populate_menu, edit_programs from calibre.gui2.open_with import populate_menu, edit_programs