Migrate character editor to use new entity editor.

This commit is contained in:
blitzmann
2016-03-28 21:23:27 -04:00
parent 3315d27d45
commit a3d9d5cca8
9 changed files with 194 additions and 231 deletions

View File

@@ -83,9 +83,9 @@ class CharacterSelection(wx.Panel):
charList = sChar.getCharacterList()
picked = False
for id, name, active in charList:
currId = choice.Append(name, id)
if id == activeChar:
for char in charList:
currId = choice.Append(char.name, char.ID)
if char.ID == activeChar:
choice.SetSelection(currId)
self.charChanged(None)
picked = True