Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
423 @pyqtSlot() 423 @pyqtSlot()
424 def on_sendButton_clicked(self): 424 def on_sendButton_clicked(self):
425 """ 425 """
426 Private slot to send the input to the mercurial process. 426 Private slot to send the input to the mercurial process.
427 """ 427 """
428 input = self.input.text() 428 inputTxt = self.input.text()
429 input += os.linesep 429 inputTxt += os.linesep
430 430
431 if self.passwordCheckBox.isChecked(): 431 if self.passwordCheckBox.isChecked():
432 self.errors.insertPlainText(os.linesep) 432 self.errors.insertPlainText(os.linesep)
433 self.errors.ensureCursorVisible() 433 self.errors.ensureCursorVisible()
434 else: 434 else:
435 self.errors.insertPlainText(input) 435 self.errors.insertPlainText(inputTxt)
436 self.errors.ensureCursorVisible() 436 self.errors.ensureCursorVisible()
437 self.errorGroup.show() 437 self.errorGroup.show()
438 438
439 self.process.write(input) 439 self.process.write(inputTxt)
440 440
441 self.passwordCheckBox.setChecked(False) 441 self.passwordCheckBox.setChecked(False)
442 self.input.clear() 442 self.input.clear()
443 443
444 def on_input_returnPressed(self): 444 def on_input_returnPressed(self):

eric ide

mercurial