282 @pyqtSlot() |
282 @pyqtSlot() |
283 def on_sendButton_clicked(self): |
283 def on_sendButton_clicked(self): |
284 """ |
284 """ |
285 Private slot to send the input to the subversion process. |
285 Private slot to send the input to the subversion process. |
286 """ |
286 """ |
287 input = self.input.text() |
287 inputTxt = self.input.text() |
288 input += os.linesep |
288 inputTxt += os.linesep |
289 |
289 |
290 if self.passwordCheckBox.isChecked(): |
290 if self.passwordCheckBox.isChecked(): |
291 self.errors.insertPlainText(os.linesep) |
291 self.errors.insertPlainText(os.linesep) |
292 self.errors.ensureCursorVisible() |
292 self.errors.ensureCursorVisible() |
293 else: |
293 else: |
294 self.errors.insertPlainText(input) |
294 self.errors.insertPlainText(inputTxt) |
295 self.errors.ensureCursorVisible() |
295 self.errors.ensureCursorVisible() |
296 |
296 |
297 self.proc.write(input) |
297 self.proc.write(inputTxt) |
298 |
298 |
299 self.passwordCheckBox.setChecked(False) |
299 self.passwordCheckBox.setChecked(False) |
300 self.input.clear() |
300 self.input.clear() |
301 |
301 |
302 def on_input_returnPressed(self): |
302 def on_input_returnPressed(self): |