520 @pyqtSlot() |
520 @pyqtSlot() |
521 def on_sendButton_clicked(self): |
521 def on_sendButton_clicked(self): |
522 """ |
522 """ |
523 Private slot to send the input to the subversion process. |
523 Private slot to send the input to the subversion process. |
524 """ |
524 """ |
525 input = self.input.text() |
525 inputTxt = self.input.text() |
526 input += os.linesep |
526 inputTxt += os.linesep |
527 |
527 |
528 if self.passwordCheckBox.isChecked(): |
528 if self.passwordCheckBox.isChecked(): |
529 self.errors.insertPlainText(os.linesep) |
529 self.errors.insertPlainText(os.linesep) |
530 self.errors.ensureCursorVisible() |
530 self.errors.ensureCursorVisible() |
531 else: |
531 else: |
532 self.errors.insertPlainText(input) |
532 self.errors.insertPlainText(inputTxt) |
533 self.errors.ensureCursorVisible() |
533 self.errors.ensureCursorVisible() |
534 |
534 |
535 self.process.write(input) |
535 self.process.write(inputTxt) |
536 |
536 |
537 self.passwordCheckBox.setChecked(False) |
537 self.passwordCheckBox.setChecked(False) |
538 self.input.clear() |
538 self.input.clear() |
539 |
539 |
540 def on_input_returnPressed(self): |
540 def on_input_returnPressed(self): |