recalculate when the char editor is closed, in case stuff changed

This commit is contained in:
cncfanatics
2010-09-23 12:49:12 +02:00
parent 6d79e0619e
commit 54c2f23f78
2 changed files with 13 additions and 0 deletions

View File

@@ -63,6 +63,14 @@ class Fit(object):
eos.db.save(newFit)
return newFit.ID
def clearFit(self, fitID):
if fitID is None:
return None
fit = eos.db.getFit(fitID)
fit.clear()
return fit
def getFit(self, fitID):
if fitID is None:
return None