Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py

changeset 5848
56388f41b1e6
parent 5624
cdd346d8858b
child 6048
82ad8ec9548c
equal deleted inserted replaced
5847:fd1262c3fa79 5848:56388f41b1e6
23 from E5Gui import E5MessageBox 23 from E5Gui import E5MessageBox
24 24
25 from .Ui_HgAnnotateDialog import Ui_HgAnnotateDialog 25 from .Ui_HgAnnotateDialog import Ui_HgAnnotateDialog
26 26
27 import Preferences 27 import Preferences
28 from Globals import strToQByteArray
28 29
29 30
30 class HgAnnotateDialog(QDialog, Ui_HgAnnotateDialog): 31 class HgAnnotateDialog(QDialog, Ui_HgAnnotateDialog):
31 """ 32 """
32 Class implementing a dialog to show the output of the hg annotate command. 33 Class implementing a dialog to show the output of the hg annotate command.
293 self.errors.ensureCursorVisible() 294 self.errors.ensureCursorVisible()
294 else: 295 else:
295 self.errors.insertPlainText(inputTxt) 296 self.errors.insertPlainText(inputTxt)
296 self.errors.ensureCursorVisible() 297 self.errors.ensureCursorVisible()
297 298
298 self.process.write(inputTxt) 299 self.process.write(strToQByteArray(inputTxt))
299 300
300 self.passwordCheckBox.setChecked(False) 301 self.passwordCheckBox.setChecked(False)
301 self.input.clear() 302 self.input.clear()
302 303
303 def on_input_returnPressed(self): 304 def on_input_returnPressed(self):

eric ide

mercurial