26 from .Ui_SvnDiffDialog import Ui_SvnDiffDialog |
26 from .Ui_SvnDiffDialog import Ui_SvnDiffDialog |
27 from .SvnDiffHighlighter import SvnDiffHighlighter |
27 from .SvnDiffHighlighter import SvnDiffHighlighter |
28 |
28 |
29 import Utilities |
29 import Utilities |
30 import Preferences |
30 import Preferences |
|
31 from Globals import strToQByteArray |
31 |
32 |
32 |
33 |
33 class SvnDiffDialog(QWidget, Ui_SvnDiffDialog): |
34 class SvnDiffDialog(QWidget, Ui_SvnDiffDialog): |
34 """ |
35 """ |
35 Class implementing a dialog to show the output of the svn diff command |
36 Class implementing a dialog to show the output of the svn diff command |
444 self.errors.ensureCursorVisible() |
445 self.errors.ensureCursorVisible() |
445 else: |
446 else: |
446 self.errors.insertPlainText(inputTxt) |
447 self.errors.insertPlainText(inputTxt) |
447 self.errors.ensureCursorVisible() |
448 self.errors.ensureCursorVisible() |
448 |
449 |
449 self.process.write(inputTxt) |
450 self.process.write(strToQByteArray(inputTxt)) |
450 |
451 |
451 self.passwordCheckBox.setChecked(False) |
452 self.passwordCheckBox.setChecked(False) |
452 self.input.clear() |
453 self.input.clear() |
453 |
454 |
454 def on_input_returnPressed(self): |
455 def on_input_returnPressed(self): |