59 menu.addAction( |
59 menu.addAction( |
60 self.tr("Remove All"), |
60 self.tr("Remove All"), |
61 self.on_removeAllButton_clicked).setEnabled( |
61 self.on_removeAllButton_clicked).setEnabled( |
62 self.iconsList.count() > 0) |
62 self.iconsList.count() > 0) |
63 |
63 |
64 menu.exec_(self.iconsList.mapToGlobal(pos)) |
64 menu.exec(self.iconsList.mapToGlobal(pos)) |
65 |
65 |
66 @pyqtSlot() |
66 @pyqtSlot() |
67 def on_iconsList_itemSelectionChanged(self): |
67 def on_iconsList_itemSelectionChanged(self): |
68 """ |
68 """ |
69 Private slot handling the selection of entries. |
69 Private slot handling the selection of entries. |