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. |