ViewManager/BookmarkedFilesDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 2525
8b507a9a2d40
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
50 Private slot to handle the textChanged signal of the file edit. 50 Private slot to handle the textChanged signal of the file edit.
51 51
52 @param txt the text of the file edit (string) 52 @param txt the text of the file edit (string)
53 """ 53 """
54 self.addButton.setEnabled(txt != "") 54 self.addButton.setEnabled(txt != "")
55 self.changeButton.setEnabled(txt != "" and \ 55 self.changeButton.setEnabled(
56 txt != "" and
56 self.filesList.currentRow() != -1) 57 self.filesList.currentRow() != -1)
57 58
58 def on_filesList_currentRowChanged(self, row): 59 def on_filesList_currentRowChanged(self, row):
59 """ 60 """
60 Private slot to set the lineedit depending on the selected entry. 61 Private slot to set the lineedit depending on the selected entry.

eric ide

mercurial