--- a/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py Sun May 02 15:44:42 2010 +0000 +++ b/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py Sun May 02 16:01:15 2010 +0000 @@ -127,12 +127,13 @@ QTimer.singleShot(2000, self.process.kill) self.process.waitForFinished(3000) + self.inputGroup.setEnabled(False) + self.inputGroup.hide() + self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) - - self.inputGroup.setEnabled(False) - self.inputGroup.hide() + self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason) self.process = None