Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
456 @pyqtSlot() 456 @pyqtSlot()
457 def on_sendButton_clicked(self): 457 def on_sendButton_clicked(self):
458 """ 458 """
459 Private slot to send the input to the subversion process. 459 Private slot to send the input to the subversion process.
460 """ 460 """
461 input = self.input.text() 461 inputTxt = self.input.text()
462 input += os.linesep 462 inputTxt += os.linesep
463 463
464 if self.passwordCheckBox.isChecked(): 464 if self.passwordCheckBox.isChecked():
465 self.errors.insertPlainText(os.linesep) 465 self.errors.insertPlainText(os.linesep)
466 self.errors.ensureCursorVisible() 466 self.errors.ensureCursorVisible()
467 else: 467 else:
468 self.errors.insertPlainText(input) 468 self.errors.insertPlainText(inputTxt)
469 self.errors.ensureCursorVisible() 469 self.errors.ensureCursorVisible()
470 470
471 self.process.write(input) 471 self.process.write(inputTxt)
472 472
473 self.passwordCheckBox.setChecked(False) 473 self.passwordCheckBox.setChecked(False)
474 self.input.clear() 474 self.input.clear()
475 475
476 def on_input_returnPressed(self): 476 def on_input_returnPressed(self):

eric ide

mercurial