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:
cncfanatics
2010-08-25 19:20:38 +02:00
parent 2d33a5dda5
commit 321188e23e
4 changed files with 80 additions and 41 deletions

View File

@@ -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)