732 @pyqtSlot() |
732 @pyqtSlot() |
733 def on_sendButton_clicked(self): |
733 def on_sendButton_clicked(self): |
734 """ |
734 """ |
735 Private slot to send the input to the subversion process. |
735 Private slot to send the input to the subversion process. |
736 """ |
736 """ |
737 input = self.input.text() |
737 inputTxt = self.input.text() |
738 input += os.linesep |
738 inputTxt += os.linesep |
739 |
739 |
740 if self.passwordCheckBox.isChecked(): |
740 if self.passwordCheckBox.isChecked(): |
741 self.errors.insertPlainText(os.linesep) |
741 self.errors.insertPlainText(os.linesep) |
742 self.errors.ensureCursorVisible() |
742 self.errors.ensureCursorVisible() |
743 else: |
743 else: |
744 self.errors.insertPlainText(input) |
744 self.errors.insertPlainText(inputTxt) |
745 self.errors.ensureCursorVisible() |
745 self.errors.ensureCursorVisible() |
746 self.errorGroup.show() |
746 self.errorGroup.show() |
747 |
747 |
748 self.process.write(input) |
748 self.process.write(inputTxt) |
749 |
749 |
750 self.passwordCheckBox.setChecked(False) |
750 self.passwordCheckBox.setChecked(False) |
751 self.input.clear() |
751 self.input.clear() |
752 |
752 |
753 def on_input_returnPressed(self): |
753 def on_input_returnPressed(self): |