163 """ |
163 """ |
164 Private slot to delete the currently selected file of the listbox. |
164 Private slot to delete the currently selected file of the listbox. |
165 """ |
165 """ |
166 crow = self.apiList.currentRow() |
166 crow = self.apiList.currentRow() |
167 if crow >= 0: |
167 if crow >= 0: |
168 itm = self.apiList.takeItem(crow) |
168 itm = self.apiList.takeItem(crow) # __IGNORE_WARNING__ |
169 del itm |
169 del itm |
170 self.prepareApiButton.setEnabled(self.apiList.count() > 0) |
170 self.prepareApiButton.setEnabled(self.apiList.count() > 0) |
171 |
171 |
172 @pyqtSlot() |
172 @pyqtSlot() |
173 def on_addInstalledApiFileButton_clicked(self): |
173 def on_addInstalledApiFileButton_clicked(self): |