Fix a bug where clearing a tab would make stuff go BOOM

This commit is contained in:
cncfanatics
2010-08-28 21:41:47 +02:00
parent 1d8144f8fe
commit 4a3d6013ce
3 changed files with 11 additions and 7 deletions

View File

@@ -65,6 +65,9 @@ class Fit(object):
return newFit.ID
def getFit(self, fitID):
if fitID is None:
return None
fit = eos.db.getFit(fitID)
fit.fill()
return fit