Update to Phoebe 1.0 data

This commit is contained in:
DarkPhoenix
2014-11-06 02:17:29 +03:00
parent bf5c443053
commit e60b677b3f
87 changed files with 122 additions and 176 deletions

View File

@@ -42,8 +42,13 @@ class ModuleGlobalAmmoPicker(ModuleAmmoPicker):
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
def display(self, srcContext, selection):
if selection is None or len(selection) != 1:
return False
try:
selectionLen = len(selection)
except:
pass
else:
if selectionLen != 1:
return False
return super(ModuleGlobalAmmoPicker, self).display(srcContext, selection)

View File

@@ -221,7 +221,6 @@ class ItemTraits ( wx.Panel ):
self.SetSizer(mainSizer)
self.traits = wx.html.HtmlWindow(self)
print(item.traits)
self.traits.SetPage(item.traits.traitText)
mainSizer.Add(self.traits, 1, wx.ALL|wx.EXPAND, 0)