Fix characterlist being destroyed on ESC pressed closes #93

Signed-off-by: otfallen <f.fallen45@gmail.com>
This commit is contained in:
otfallen
2012-09-15 03:49:33 +00:00
parent eb7a11158a
commit f5cbb62eff
2 changed files with 3 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ end
function CharacterList.create(characters, account, otui)
if not otui then otui = 'characterlist.otui' end
if charactersWindow then
charactersWindow:destroy()
end
@@ -243,7 +243,7 @@ function CharacterList.destroy()
end
function CharacterList.show()
if not loadBox and not errorBox and charactersWindow then
if not loadBox and not errorBox then
charactersWindow:show()
charactersWindow:raise()
charactersWindow:focus()