Update to Phoebe 1.0 data
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user