Fix for #1000
This commit is contained in:
@@ -938,7 +938,7 @@ class ShipBrowser(wx.Panel):
|
|||||||
|
|
||||||
if fits:
|
if fits:
|
||||||
for fit in fits:
|
for fit in fits:
|
||||||
shipTrait = fit.ship.traits.traitText if (fit.ship.traits is not None) else ""
|
shipTrait = fit.ship.item.traits.traitText if (fit.ship.item.traits is not None) else ""
|
||||||
# empty string if no traits
|
# empty string if no traits
|
||||||
|
|
||||||
self.lpane.AddWidget(FitItem(
|
self.lpane.AddWidget(FitItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user