diff -r 52b2f19226e7 -r d84b854d59c0 Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Tue Jan 31 19:08:11 2017 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Tue Jan 31 19:49:58 2017 +0100 @@ -955,9 +955,6 @@ self.process.setWorkingDirectory(self.repodir) - self.inputGroup.setEnabled(True) - self.inputGroup.show() - if preargs: process = QProcess() process.setWorkingDirectory(self.repodir) @@ -1269,6 +1266,11 @@ self.errorGroup.show() self.errors.insertPlainText(out) self.errors.ensureCursorVisible() + + if not self.__hgClient: + # show input in case the process asked for some input + self.inputGroup.setEnabled(True) + self.inputGroup.show() def __diffRevisions(self, rev1, rev2): """ @@ -1759,8 +1761,6 @@ self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) - self.inputGroup.setEnabled(True) - self.inputGroup.show() self.refreshButton.setEnabled(False) # save the current items commit ID @@ -1806,7 +1806,6 @@ else: self.errors.insertPlainText(input) self.errors.ensureCursorVisible() - self.errorGroup.show() self.process.write(input)