Make jump to market group work for faction/deadspace/officer items

This commit is contained in:
cncfanatics
2010-10-21 11:53:30 +02:00
parent 415f126356
commit 30c40c119c

View File

@@ -131,6 +131,12 @@ class MarketBrowser(wx.Panel):
def jump(self, item):
mg = item.marketGroup
if mg is None and item.metaGroup is not None:
mg = item.metaGroup.parent.marketGroup
if mg is None:
return
jumpList = []
while mg is not None:
jumpList.append(mg.ID)