51 dirList.append(self.iconDirectoryList.item(i).text()) |
51 dirList.append(self.iconDirectoryList.item(i).text()) |
52 Preferences.setIcons("Path", dirList) |
52 Preferences.setIcons("Path", dirList) |
53 |
53 |
54 def on_iconDirectoryList_currentRowChanged(self, row): |
54 def on_iconDirectoryList_currentRowChanged(self, row): |
55 """ |
55 """ |
56 Private slot to handle the currentRowChanged signal of the icons directory list. |
56 Private slot to handle the currentRowChanged signal of the icons |
|
57 directory list. |
57 |
58 |
58 @param row the current row (integer) |
59 @param row the current row (integer) |
59 """ |
60 """ |
60 if row == -1: |
61 if row == -1: |
61 self.deleteIconDirectoryButton.setEnabled(False) |
62 self.deleteIconDirectoryButton.setEnabled(False) |