75 |
75 |
76 @param txt the text of the directory edit (string) |
76 @param txt the text of the directory edit (string) |
77 """ |
77 """ |
78 self.addIconDirectoryButton.setEnabled(txt != "") |
78 self.addIconDirectoryButton.setEnabled(txt != "") |
79 self.showIconsButton.setEnabled( |
79 self.showIconsButton.setEnabled( |
80 txt != "" or \ |
80 txt != "" or |
81 self.iconDirectoryList.currentRow() != -1) |
81 self.iconDirectoryList.currentRow() != -1) |
82 |
82 |
83 @pyqtSlot() |
83 @pyqtSlot() |
84 def on_upButton_clicked(self): |
84 def on_upButton_clicked(self): |
85 """ |
85 """ |