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