Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 2525
8b507a9a2d40
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
36 def __updateUI(self): 36 def __updateUI(self):
37 """ 37 """
38 Private slot to update the UI. 38 Private slot to update the UI.
39 """ 39 """
40 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 40 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(
41 self.nameEdit.text() != "" and \ 41 self.nameEdit.text() != "" and
42 self.bookmarkCombo.currentText() != "" 42 self.bookmarkCombo.currentText() != ""
43 ) 43 )
44 44
45 @pyqtSlot(str) 45 @pyqtSlot(str)
46 def on_nameEdit_textChanged(self, txt): 46 def on_nameEdit_textChanged(self, txt):

eric ide

mercurial