44 super(HgDiffDialog, self).__init__(parent) |
43 super(HgDiffDialog, self).__init__(parent) |
45 self.setupUi(self) |
44 self.setupUi(self) |
46 |
45 |
47 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(False) |
46 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(False) |
48 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
47 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) |
|
48 |
|
49 self.searchWidget.attachTextEdit(self.contents) |
49 |
50 |
50 self.process = QProcess() |
51 self.process = QProcess() |
51 self.vcs = vcs |
52 self.vcs = vcs |
52 self.__hgClient = self.vcs.getClient() |
53 self.__hgClient = self.vcs.getClient() |
53 |
54 |