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