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( |
53 self.changeButton.setEnabled( |
54 txt != "" and \ |
54 txt != "" and |
55 self.filesList.currentRow() != -1) |
55 self.filesList.currentRow() != -1) |
56 |
56 |
57 def on_filesList_currentRowChanged(self, row): |
57 def on_filesList_currentRowChanged(self, row): |
58 """ |
58 """ |
59 Private slot to set the lineedit depending on the selected entry. |
59 Private slot to set the lineedit depending on the selected entry. |