Allow any item to be added to cargo (allows to distribute "refits" with fit)

This commit is contained in:
blitzmann
2014-05-03 21:21:21 -04:00
parent 89a8bde574
commit 8e9ea0a36b
2 changed files with 1 additions and 8 deletions

View File

@@ -14,11 +14,7 @@ class Cargo(ContextMenu):
# Make sure context menu registers in the correct view
if srcContext not in ("marketItemGroup", "marketItemMisc") or self.mainFrame.getActiveFit() is None:
return False
item = selection[0]
sFit = service.Fit.getInstance()
return sFit.isAmmo(item.ID)
return True
def getText(self, itmContext, selection):
return "Add {0} to Cargo".format(itmContext)