ViewManager/BookmarkedFilesDialog.py

changeset 3031
ed2eaa573ca5
parent 2302
f29e9405c851
child 3034
7ce719013078
equal deleted inserted replaced
3030:4a0a82ddd9d2 3031:ed2eaa573ca5
48 Private slot to handle the textChanged signal of the file edit. 48 Private slot to handle the textChanged signal of the file edit.
49 49
50 @param txt the text of the file edit (string) 50 @param txt the text of the file edit (string)
51 """ 51 """
52 self.addButton.setEnabled(txt != "") 52 self.addButton.setEnabled(txt != "")
53 self.changeButton.setEnabled(txt != "" and \ 53 self.changeButton.setEnabled(
54 txt != "" and \
54 self.filesList.currentRow() != -1) 55 self.filesList.currentRow() != -1)
55 56
56 def on_filesList_currentRowChanged(self, row): 57 def on_filesList_currentRowChanged(self, row):
57 """ 58 """
58 Private slot to set the lineedit depending on the selected entry. 59 Private slot to set the lineedit depending on the selected entry.

eric ide

mercurial