237 @pyqtSlot() |
237 @pyqtSlot() |
238 def on_sendButton_clicked(self): |
238 def on_sendButton_clicked(self): |
239 """ |
239 """ |
240 Private slot to send the input to the subversion process. |
240 Private slot to send the input to the subversion process. |
241 """ |
241 """ |
242 input = self.input.text() |
242 inputTxt = self.input.text() |
243 input += os.linesep |
243 inputTxt += os.linesep |
244 |
244 |
245 if self.passwordCheckBox.isChecked(): |
245 if self.passwordCheckBox.isChecked(): |
246 self.errors.insertPlainText(os.linesep) |
246 self.errors.insertPlainText(os.linesep) |
247 self.errors.ensureCursorVisible() |
247 self.errors.ensureCursorVisible() |
248 else: |
248 else: |
249 self.errors.insertPlainText(input) |
249 self.errors.insertPlainText(inputTxt) |
250 self.errors.ensureCursorVisible() |
250 self.errors.ensureCursorVisible() |
251 |
251 |
252 self.process.write(input) |
252 self.process.write(inputTxt) |
253 |
253 |
254 self.passwordCheckBox.setChecked(False) |
254 self.passwordCheckBox.setChecked(False) |
255 self.input.clear() |
255 self.input.clear() |
256 |
256 |
257 def on_input_returnPressed(self): |
257 def on_input_returnPressed(self): |