Change fix for invisible labels on linux

This commit is contained in:
DarkPhoenix
2019-04-13 14:26:05 +03:00
parent c94acd9718
commit 5f8ccb9831
2 changed files with 4 additions and 4 deletions

View File

@@ -33,6 +33,8 @@ class GuiRebaseItemsCommand(wx.Command):
for obj in container:
if obj.itemID in self.rebaseMap:
self.internal_history.Submit(FitRebaseItemCommand(self.fitID, containerName, container.index(obj), self.rebaseMap[obj.itemID]))
# Need to process cargo separately as we want to merge items when needed,
# e.g. FN iron and CN iron into single stack of CN iron
for cargo in fit.cargo:
if cargo.itemID in self.rebaseMap:
amount = cargo.amount