546 @pyqtSlot() |
546 @pyqtSlot() |
547 def on_sendButton_clicked(self): |
547 def on_sendButton_clicked(self): |
548 """ |
548 """ |
549 Private slot to send the input to the subversion process. |
549 Private slot to send the input to the subversion process. |
550 """ |
550 """ |
551 input = self.input.text() |
551 inputTxt = self.input.text() |
552 input += os.linesep |
552 inputTxt += os.linesep |
553 |
553 |
554 if self.passwordCheckBox.isChecked(): |
554 if self.passwordCheckBox.isChecked(): |
555 self.errors.insertPlainText(os.linesep) |
555 self.errors.insertPlainText(os.linesep) |
556 self.errors.ensureCursorVisible() |
556 self.errors.ensureCursorVisible() |
557 else: |
557 else: |
558 self.errors.insertPlainText(input) |
558 self.errors.insertPlainText(inputTxt) |
559 self.errors.ensureCursorVisible() |
559 self.errors.ensureCursorVisible() |
560 |
560 |
561 self.process.write(input) |
561 self.process.write(inputTxt) |
562 |
562 |
563 self.passwordCheckBox.setChecked(False) |
563 self.passwordCheckBox.setChecked(False) |
564 self.input.clear() |
564 self.input.clear() |
565 |
565 |
566 def on_input_returnPressed(self): |
566 def on_input_returnPressed(self): |