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