When opening the character editor, always select the currently used
character by default
This commit is contained in:
@@ -58,7 +58,9 @@ class CharacterSelection(wx.Panel):
|
||||
activeChar = self.getActiveCharacter()
|
||||
|
||||
choice.Clear()
|
||||
for id, name in cChar.getCharacterList():
|
||||
charList = cChar.getCharacterList()
|
||||
cChar.getCharacterList()
|
||||
for id, name, active in charList:
|
||||
currId = choice.Append(name, id)
|
||||
if id == activeChar:
|
||||
choice.SetSelection(currId)
|
||||
|
||||
Reference in New Issue
Block a user