406 @pyqtSlot() |
406 @pyqtSlot() |
407 def on_sendButton_clicked(self): |
407 def on_sendButton_clicked(self): |
408 """ |
408 """ |
409 Private slot to send the input to the subversion process. |
409 Private slot to send the input to the subversion process. |
410 """ |
410 """ |
411 input = self.input.text() |
411 inputTxt = self.input.text() |
412 input += os.linesep |
412 inputTxt += os.linesep |
413 |
413 |
414 if self.passwordCheckBox.isChecked(): |
414 if self.passwordCheckBox.isChecked(): |
415 self.errors.insertPlainText(os.linesep) |
415 self.errors.insertPlainText(os.linesep) |
416 self.errors.ensureCursorVisible() |
416 self.errors.ensureCursorVisible() |
417 else: |
417 else: |
418 self.errors.insertPlainText(input) |
418 self.errors.insertPlainText(inputTxt) |
419 self.errors.ensureCursorVisible() |
419 self.errors.ensureCursorVisible() |
420 |
420 |
421 self.process.write(input) |
421 self.process.write(inputTxt) |
422 |
422 |
423 self.passwordCheckBox.setChecked(False) |
423 self.passwordCheckBox.setChecked(False) |
424 self.input.clear() |
424 self.input.clear() |
425 |
425 |
426 def on_input_returnPressed(self): |
426 def on_input_returnPressed(self): |