Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py

changeset 4126
c28d0cf3b639
parent 4021
195a471c327b
child 4278
ccd1e13cb9bd
equal deleted inserted replaced
4125:056d98a54dd4 4126:c28d0cf3b639
86 86
87 def start(self, fn): 87 def start(self, fn):
88 """ 88 """
89 Public slot to start the annotate command. 89 Public slot to start the annotate command.
90 90
91 @param fn filename to show the log for (string) 91 @param fn filename to show the annotation for (string)
92 """ 92 """
93 self.annotateList.clear()
93 self.errorGroup.hide() 94 self.errorGroup.hide()
94 self.intercept = False 95 self.intercept = False
95 self.activateWindow() 96 self.activateWindow()
96 self.lineno = 1 97 self.lineno = 1
97 98
164 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) 165 self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False)
165 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) 166 self.buttonBox.button(QDialogButtonBox.Close).setDefault(True)
166 self.buttonBox.button(QDialogButtonBox.Close).setFocus( 167 self.buttonBox.button(QDialogButtonBox.Close).setFocus(
167 Qt.OtherFocusReason) 168 Qt.OtherFocusReason)
168 169
169 self.process = None
170
171 self.__resizeColumns() 170 self.__resizeColumns()
172 171
173 def on_buttonBox_clicked(self, button): 172 def on_buttonBox_clicked(self, button):
174 """ 173 """
175 Private slot called by a button of the button box clicked. 174 Private slot called by a button of the button box clicked.

eric ide

mercurial