290 @pyqtSlot() |
290 @pyqtSlot() |
291 def on_sendButton_clicked(self): |
291 def on_sendButton_clicked(self): |
292 """ |
292 """ |
293 Private slot to send the input to the subversion process. |
293 Private slot to send the input to the subversion process. |
294 """ |
294 """ |
295 input = self.input.text() |
295 inputTxt = self.input.text() |
296 input += os.linesep |
296 inputTxt += os.linesep |
297 |
297 |
298 if self.passwordCheckBox.isChecked(): |
298 if self.passwordCheckBox.isChecked(): |
299 self.errors.insertPlainText(os.linesep) |
299 self.errors.insertPlainText(os.linesep) |
300 self.errors.ensureCursorVisible() |
300 self.errors.ensureCursorVisible() |
301 else: |
301 else: |
302 self.errors.insertPlainText(input) |
302 self.errors.insertPlainText(inputTxt) |
303 self.errors.ensureCursorVisible() |
303 self.errors.ensureCursorVisible() |
304 |
304 |
305 self.process.write(input) |
305 self.process.write(inputTxt) |
306 |
306 |
307 self.passwordCheckBox.setChecked(False) |
307 self.passwordCheckBox.setChecked(False) |
308 self.input.clear() |
308 self.input.clear() |
309 |
309 |
310 def on_input_returnPressed(self): |
310 def on_input_returnPressed(self): |