Plugins/VcsPlugins/vcsMercurial/HgDialog.py

changeset 5588
6ba512d9f46a
parent 5587
ea526b78ee6c
child 5624
cdd346d8858b
equal deleted inserted replaced
5587:ea526b78ee6c 5588:6ba512d9f46a
282 @pyqtSlot() 282 @pyqtSlot()
283 def on_sendButton_clicked(self): 283 def on_sendButton_clicked(self):
284 """ 284 """
285 Private slot to send the input to the subversion process. 285 Private slot to send the input to the subversion process.
286 """ 286 """
287 input = self.input.text() 287 inputTxt = self.input.text()
288 input += os.linesep 288 inputTxt += os.linesep
289 289
290 if self.passwordCheckBox.isChecked(): 290 if self.passwordCheckBox.isChecked():
291 self.errors.insertPlainText(os.linesep) 291 self.errors.insertPlainText(os.linesep)
292 self.errors.ensureCursorVisible() 292 self.errors.ensureCursorVisible()
293 else: 293 else:
294 self.errors.insertPlainText(input) 294 self.errors.insertPlainText(inputTxt)
295 self.errors.ensureCursorVisible() 295 self.errors.ensureCursorVisible()
296 296
297 self.proc.write(input) 297 self.proc.write(inputTxt)
298 298
299 self.passwordCheckBox.setChecked(False) 299 self.passwordCheckBox.setChecked(False)
300 self.input.clear() 300 self.input.clear()
301 301
302 def on_input_returnPressed(self): 302 def on_input_returnPressed(self):

eric ide

mercurial