22 from E5Gui import E5MessageBox |
22 from E5Gui import E5MessageBox |
23 |
23 |
24 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog |
24 from .Ui_SvnBlameDialog import Ui_SvnBlameDialog |
25 |
25 |
26 import Preferences |
26 import Preferences |
|
27 from Globals import strToQByteArray |
27 |
28 |
28 |
29 |
29 class SvnBlameDialog(QDialog, Ui_SvnBlameDialog): |
30 class SvnBlameDialog(QDialog, Ui_SvnBlameDialog): |
30 """ |
31 """ |
31 Class implementing a dialog to show the output of the svn blame command. |
32 Class implementing a dialog to show the output of the svn blame command. |
232 self.errors.ensureCursorVisible() |
233 self.errors.ensureCursorVisible() |
233 else: |
234 else: |
234 self.errors.insertPlainText(inputTxt) |
235 self.errors.insertPlainText(inputTxt) |
235 self.errors.ensureCursorVisible() |
236 self.errors.ensureCursorVisible() |
236 |
237 |
237 self.process.write(inputTxt) |
238 self.process.write(strToQByteArray(inputTxt)) |
238 |
239 |
239 self.passwordCheckBox.setChecked(False) |
240 self.passwordCheckBox.setChecked(False) |
240 self.input.clear() |
241 self.input.clear() |
241 |
242 |
242 def on_input_returnPressed(self): |
243 def on_input_returnPressed(self): |