Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
334 @pyqtSlot() 334 @pyqtSlot()
335 def on_sendButton_clicked(self): 335 def on_sendButton_clicked(self):
336 """ 336 """
337 Private slot to send the input to the subversion process. 337 Private slot to send the input to the subversion process.
338 """ 338 """
339 input = self.input.text() 339 inputTxt = self.input.text()
340 input += os.linesep 340 inputTxt += os.linesep
341 341
342 if self.passwordCheckBox.isChecked(): 342 if self.passwordCheckBox.isChecked():
343 self.errors.insertPlainText(os.linesep) 343 self.errors.insertPlainText(os.linesep)
344 self.errors.ensureCursorVisible() 344 self.errors.ensureCursorVisible()
345 else: 345 else:
346 self.errors.insertPlainText(input) 346 self.errors.insertPlainText(inputTxt)
347 self.errors.ensureCursorVisible() 347 self.errors.ensureCursorVisible()
348 348
349 self.process.write(input) 349 self.process.write(inputTxt)
350 350
351 self.passwordCheckBox.setChecked(False) 351 self.passwordCheckBox.setChecked(False)
352 self.input.clear() 352 self.input.clear()
353 353
354 def on_input_returnPressed(self): 354 def on_input_returnPressed(self):

eric ide

mercurial