Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py

changeset 3034
7ce719013078
parent 2302
f29e9405c851
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
34 def __updateUI(self): 34 def __updateUI(self):
35 """ 35 """
36 Private slot to update the UI. 36 Private slot to update the UI.
37 """ 37 """
38 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 38 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(
39 self.nameEdit.text() != "" and \ 39 self.nameEdit.text() != "" and
40 self.bookmarkCombo.currentText() != "" 40 self.bookmarkCombo.currentText() != ""
41 ) 41 )
42 42
43 @pyqtSlot(str) 43 @pyqtSlot(str)
44 def on_nameEdit_textChanged(self, txt): 44 def on_nameEdit_textChanged(self, txt):

eric ide

mercurial