Extra check in ship browser

This commit is contained in:
cncfanatics
2010-10-22 07:08:28 +02:00
parent 3c289e3e06
commit 7585f4e41d

View File

@@ -165,6 +165,9 @@ class ShipBrowser(wx.Panel):
def newFit(self, event):
tree = self.getActiveTree()
root = tree.GetSelection()
if not root.IsOk():
return
type, shipID = tree.GetPyData(root)
cFit = service.Fit.getInstance()
noChildren = False