src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarkRenameDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
44 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( 44 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
45 self.nameEdit.text() != "" and self.bookmarkCombo.currentText() != "" 45 self.nameEdit.text() != "" and self.bookmarkCombo.currentText() != ""
46 ) 46 )
47 47
48 @pyqtSlot(str) 48 @pyqtSlot(str)
49 def on_nameEdit_textChanged(self, txt): 49 def on_nameEdit_textChanged(self, _txt):
50 """ 50 """
51 Private slot to handle changes of the bookmark name. 51 Private slot to handle changes of the bookmark name.
52 52
53 @param txt text of the edit 53 @param _txt text of the edit (unused)
54 @type str 54 @type str
55 """ 55 """
56 self.__updateUI() 56 self.__updateUI()
57 57
58 @pyqtSlot(str) 58 @pyqtSlot(str)
59 def on_bookmarkCombo_editTextChanged(self, txt): 59 def on_bookmarkCombo_editTextChanged(self, _txt):
60 """ 60 """
61 Private slot to handle changes of the selected bookmark. 61 Private slot to handle changes of the selected bookmark.
62 62
63 @param txt name of the selected bookmark 63 @param _txt name of the selected bookmark (unused)
64 @type str 64 @type str
65 """ 65 """
66 self.__updateUI() 66 self.__updateUI()
67 67
68 def getData(self): 68 def getData(self):

eric ide

mercurial