Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
290 @pyqtSlot() 290 @pyqtSlot()
291 def on_sendButton_clicked(self): 291 def on_sendButton_clicked(self):
292 """ 292 """
293 Private slot to send the input to the subversion process. 293 Private slot to send the input to the subversion process.
294 """ 294 """
295 input = self.input.text() 295 inputTxt = self.input.text()
296 input += os.linesep 296 inputTxt += os.linesep
297 297
298 if self.passwordCheckBox.isChecked(): 298 if self.passwordCheckBox.isChecked():
299 self.errors.insertPlainText(os.linesep) 299 self.errors.insertPlainText(os.linesep)
300 self.errors.ensureCursorVisible() 300 self.errors.ensureCursorVisible()
301 else: 301 else:
302 self.errors.insertPlainText(input) 302 self.errors.insertPlainText(inputTxt)
303 self.errors.ensureCursorVisible() 303 self.errors.ensureCursorVisible()
304 304
305 self.process.write(input) 305 self.process.write(inputTxt)
306 306
307 self.passwordCheckBox.setChecked(False) 307 self.passwordCheckBox.setChecked(False)
308 self.input.clear() 308 self.input.clear()
309 309
310 def on_input_returnPressed(self): 310 def on_input_returnPressed(self):

eric ide

mercurial