Changed the default state of projected modules

Fixes http://trac.evefit.org/ticket/264
This commit is contained in:
Corollax
2010-11-01 13:42:49 -05:00
parent 3a563fee98
commit 17e2a91bab
2 changed files with 4 additions and 2 deletions

2
eos

Submodule eos updated: efcd23e6e9...757dc45792

View File

@@ -201,7 +201,9 @@ class Fit(object):
d.amount += 1
else:
fit.projectedModules.append(eos.types.Module(thing))
module = eos.types.Module(thing)
module.state = State.ACTIVE
fit.projectedModules.append(module)
eos.db.commit()
fit.clear()