mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:52:31 +02:00
Fix a regression in the previous release that broke changing sections in the convert single book dialog after changing the input or output formats. Fixes #1924767 [Convert dialog navigation stops woorking](https://bugs.launchpad.net/calibre/+bug/1924767)
This commit is contained in:
parent
51d07cef5b
commit
7cbbff57ca
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,6 @@ def __init__(self, parent, db, book_id,
|
|||
self.input_formats.currentIndexChanged[native_string_type].connect(self.setup_pipeline)
|
||||
self.output_formats.currentIndexChanged[native_string_type].connect(self.setup_pipeline)
|
||||
self.groups.setSpacing(5)
|
||||
self.groups.selectionModel().currentChanged.connect(self.current_group_changed)
|
||||
self.groups.entered[(QModelIndex)].connect(self.show_group_help)
|
||||
rb = self.buttonBox.button(QDialogButtonBox.StandardButton.RestoreDefaults)
|
||||
rb.setText(_('Restore &defaults'))
|
||||
|
|
@ -249,6 +248,7 @@ def widget_factory(cls):
|
|||
idx = oidx if -1 < oidx < self._groups_model.rowCount() else 0
|
||||
self.groups.setCurrentIndex(self._groups_model.index(idx))
|
||||
self.show_pane(idx)
|
||||
self.groups.selectionModel().currentChanged.connect(self.current_group_changed)
|
||||
try:
|
||||
shutil.rmtree(self.plumber.archive_input_tdir, ignore_errors=True)
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Reference in a new issue