When opening the character editor, always select the currently used
character by default
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
import eos.db
|
||||
import eos.types
|
||||
import copy
|
||||
import service
|
||||
|
||||
class Character():
|
||||
instance = None
|
||||
@@ -42,7 +43,8 @@ class Character():
|
||||
baseChars = [eos.types.Character.getAll0(), eos.types.Character.getAll5()]
|
||||
# Flush incase all0 & all5 weren't in the db yet
|
||||
eos.db.commit()
|
||||
return map(lambda c: (c.ID, c.name), eos.db.getCharacterList())
|
||||
sFit = service.Fit.getInstance()
|
||||
return map(lambda c: (c.ID, c.name, c == sFit.character), eos.db.getCharacterList())
|
||||
|
||||
def getSkillGroups(self):
|
||||
cat = eos.db.getCategory(16)
|
||||
|
||||
Reference in New Issue
Block a user