266 @pyqtSlot() |
266 @pyqtSlot() |
267 def on_sendButton_clicked(self): |
267 def on_sendButton_clicked(self): |
268 """ |
268 """ |
269 Private slot to send the input to the subversion process. |
269 Private slot to send the input to the subversion process. |
270 """ |
270 """ |
271 input = self.input.text() |
271 inputTxt = self.input.text() |
272 input += os.linesep |
272 inputTxt += os.linesep |
273 |
273 |
274 if self.passwordCheckBox.isChecked(): |
274 if self.passwordCheckBox.isChecked(): |
275 self.errors.insertPlainText(os.linesep) |
275 self.errors.insertPlainText(os.linesep) |
276 self.errors.ensureCursorVisible() |
276 self.errors.ensureCursorVisible() |
277 else: |
277 else: |
278 self.resultbox.insertPlainText(input) |
278 self.resultbox.insertPlainText(inputTxt) |
279 self.resultbox.ensureCursorVisible() |
279 self.resultbox.ensureCursorVisible() |
280 |
280 |
281 self.proc.write(input) |
281 self.proc.write(inputTxt) |
282 |
282 |
283 self.passwordCheckBox.setChecked(False) |
283 self.passwordCheckBox.setChecked(False) |
284 self.input.clear() |
284 self.input.clear() |
285 |
285 |
286 def on_input_returnPressed(self): |
286 def on_input_returnPressed(self): |