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