--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py Sat Sep 21 20:30:56 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py Sat Sep 21 22:03:03 2019 +0200 @@ -59,8 +59,10 @@ enabled = False elif self.patternEdit.text() == "": enabled = False - elif self.changesetsEdit.toPlainText() == "" and \ - self.bookmarkCombo.currentText() == "": + elif ( + self.changesetsEdit.toPlainText() == "" and + self.bookmarkCombo.currentText() == "" + ): enabled = False self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled)