* bump dev * Fix two issues with deleting fits (#1147)
This commit is contained in:
@@ -19,8 +19,8 @@ debug = False
|
||||
saveInRoot = False
|
||||
|
||||
# Version data
|
||||
version = "1.29.0"
|
||||
tag = "Stable"
|
||||
version = "1.29.1"
|
||||
tag = "git"
|
||||
expansionName = "YC119.5"
|
||||
expansionVersion = "1.0"
|
||||
evemonMinVersion = "4081"
|
||||
|
||||
@@ -2001,7 +2001,7 @@ class FitItem(SFItem.SFBrowserItem):
|
||||
|
||||
def Refresh(self):
|
||||
activeFit = self.mainFrame.getActiveFit()
|
||||
if activeFit == self.fitID:
|
||||
if activeFit == self.fitID and not self.deleted:
|
||||
sFit = Fit.getInstance()
|
||||
fit = sFit.getFit(activeFit)
|
||||
self.timestamp = fit.modifiedCoalesce
|
||||
|
||||
@@ -198,8 +198,9 @@ class Fit(object):
|
||||
@staticmethod
|
||||
def editNotes(fitID, notes):
|
||||
fit = eos.db.getFit(fitID)
|
||||
fit.notes = notes
|
||||
eos.db.commit()
|
||||
if fit:
|
||||
fit.notes = notes
|
||||
eos.db.commit()
|
||||
|
||||
def toggleFactorReload(self, fitID):
|
||||
pyfalog.debug("Toggling factor reload for fit ID: {0}", fitID)
|
||||
|
||||
Reference in New Issue
Block a user