Wire up events so the active fit in a tab changes when a new fit is selected, and names change when renamed, etc.
This commit is contained in:
@@ -30,6 +30,7 @@ class Fit(object):
|
||||
|
||||
return cls.instance
|
||||
|
||||
|
||||
def getFitsWithShip(self, id):
|
||||
fits = eos.db.getFitsWithShip(id)
|
||||
names = []
|
||||
@@ -62,3 +63,6 @@ class Fit(object):
|
||||
eos.db.saveddata_session.add(newFit)
|
||||
eos.db.saveddata_session.flush()
|
||||
return newFit.ID
|
||||
|
||||
def getFit(self, fitID):
|
||||
return eos.db.getFit(fitID)
|
||||
|
||||
Reference in New Issue
Block a user