Allow adding items to cargo via double-click
This commit is contained in:
@@ -70,7 +70,7 @@ class CargoView(d.Display):
|
||||
|
||||
def addItem(self, event):
|
||||
item = Market.getInstance().getItem(event.itemID, eager='group')
|
||||
if item is None or not item.isCharge:
|
||||
if item is None or not (item.isCharge or item.isCommodity):
|
||||
event.Skip()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user