222 @pyqtSlot() |
222 @pyqtSlot() |
223 def on_sendButton_clicked(self): |
223 def on_sendButton_clicked(self): |
224 """ |
224 """ |
225 Private slot to send the input to the subversion process. |
225 Private slot to send the input to the subversion process. |
226 """ |
226 """ |
227 input = self.input.text() |
227 inputTxt = self.input.text() |
228 input += os.linesep |
228 inputTxt += os.linesep |
229 |
229 |
230 if self.passwordCheckBox.isChecked(): |
230 if self.passwordCheckBox.isChecked(): |
231 self.errors.insertPlainText(os.linesep) |
231 self.errors.insertPlainText(os.linesep) |
232 self.errors.ensureCursorVisible() |
232 self.errors.ensureCursorVisible() |
233 else: |
233 else: |
234 self.errors.insertPlainText(input) |
234 self.errors.insertPlainText(inputTxt) |
235 self.errors.ensureCursorVisible() |
235 self.errors.ensureCursorVisible() |
236 |
236 |
237 self.process.write(input) |
237 self.process.write(inputTxt) |
238 |
238 |
239 self.passwordCheckBox.setChecked(False) |
239 self.passwordCheckBox.setChecked(False) |
240 self.input.clear() |
240 self.input.clear() |
241 |
241 |
242 def on_input_returnPressed(self): |
242 def on_input_returnPressed(self): |