Add basic character switching abilities. Warning: this is UNFINISHED

This commit is contained in:
cncfanatics
2010-09-14 11:17:16 +02:00
parent 6d07151d71
commit 3554a4b6a8
4 changed files with 54 additions and 4 deletions

View File

@@ -46,9 +46,8 @@ class CharacterEditor(wx.Dialog):
self.skillTreeChoice = wx.Choice(self, wx.ID_ANY, style=0)
for i, info in enumerate(charList):
id, name = info
self.skillTreeChoice.Insert(name, i, id)
for id, name in charList:
self.skillTreeChoice.Append(name, id)
self.skillTreeChoice.SetSelection(0)