240 self.tr( |
240 self.tr( |
241 """Do you really want to remove the selected guards?""")) |
241 """Do you really want to remove the selected guards?""")) |
242 if res: |
242 if res: |
243 for guardItem in self.guardsList.selectedItems(): |
243 for guardItem in self.guardsList.selectedItems(): |
244 row = self.guardsList.row(guardItem) |
244 row = self.guardsList.row(guardItem) |
245 itm = self.guardsList.takeItem(row) |
245 itm = self.guardsList.takeItem(row) # __IGNORE_WARNING__ |
246 del itm |
246 del itm |
247 |
247 |
248 self.__dirtyList = True |
248 self.__dirtyList = True |
249 |
249 |
250 @pyqtSlot(QAbstractButton) |
250 @pyqtSlot(QAbstractButton) |