(self, callingWindow, itmContext, mainItem, selection)
| 39 | return True |
| 40 | |
| 41 | def getText(self, callingWindow, itmContext, mainItem, selection): |
| 42 | return _t('Remove {item}{stack}').format( |
| 43 | item=itmContext if itmContext is not None else _t('Item'), |
| 44 | stack=_t(' Stack') if self.srcContext in ('droneItem', 'projectedDrone', 'cargoItem', 'projectedFit') else '') |
| 45 | |
| 46 | def activate(self, callingWindow, fullContext, mainItem, selection, i): |
| 47 | handlerMap = { |