Fix some bugs with notes view - exception happening due to lack of fit, and possibility of notes saving under the wrong fit
This commit is contained in:
@@ -180,6 +180,12 @@ class Fit(object):
|
||||
fit.clear()
|
||||
return fit
|
||||
|
||||
@staticmethod
|
||||
def editNotes(fitID, notes):
|
||||
fit = eos.db.getFit(fitID)
|
||||
fit.notes = notes
|
||||
eos.db.commit()
|
||||
|
||||
def toggleFactorReload(self, fitID):
|
||||
pyfalog.debug("Toggling factor reload for fit ID: {0}", fitID)
|
||||
if fitID is None:
|
||||
|
||||
Reference in New Issue
Block a user