Add a menu entry that appears on right click in the firepower pane to

toggle reload factoring on and off (off by default)
This commit is contained in:
cncfanatics
2010-10-30 12:58:56 +02:00
parent 9d2c254d00
commit b18eed7878
3 changed files with 45 additions and 1 deletions

View File

@@ -86,6 +86,16 @@ class Fit(object):
fit.clear()
return fit
def toggleFactorReload(self, fitID):
if fitID is None:
return None
fit = eos.db.getFit(fitID)
fit.factorReload = not fit.factorReload
eos.db.commit()
fit.clear()
fit.calculateModifiedAttributes()
def getFit(self, fitID):
if fitID is None:
return None