Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
546 @pyqtSlot() 546 @pyqtSlot()
547 def on_sendButton_clicked(self): 547 def on_sendButton_clicked(self):
548 """ 548 """
549 Private slot to send the input to the subversion process. 549 Private slot to send the input to the subversion process.
550 """ 550 """
551 input = self.input.text() 551 inputTxt = self.input.text()
552 input += os.linesep 552 inputTxt += os.linesep
553 553
554 if self.passwordCheckBox.isChecked(): 554 if self.passwordCheckBox.isChecked():
555 self.errors.insertPlainText(os.linesep) 555 self.errors.insertPlainText(os.linesep)
556 self.errors.ensureCursorVisible() 556 self.errors.ensureCursorVisible()
557 else: 557 else:
558 self.errors.insertPlainText(input) 558 self.errors.insertPlainText(inputTxt)
559 self.errors.ensureCursorVisible() 559 self.errors.ensureCursorVisible()
560 560
561 self.process.write(input) 561 self.process.write(inputTxt)
562 562
563 self.passwordCheckBox.setChecked(False) 563 self.passwordCheckBox.setChecked(False)
564 self.input.clear() 564 self.input.clear()
565 565
566 def on_input_returnPressed(self): 566 def on_input_returnPressed(self):

eric ide

mercurial