map losing focus fix

This commit is contained in:
Eduardo Bart
2011-08-29 20:40:56 -03:00
parent 67d8112ed0
commit 12661c1b1b
6 changed files with 19 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
UIWidget
id: gameRootInterface
anchors.fill: parent
UIMap

View File

@@ -41,6 +41,7 @@ local function tryLogin(charInfo, tries)
loadBox = displayCancelBox('Please wait', 'Connecting to game server...')
function loadBox.onCancel()
loadBox = nil
Game.cancelLogin()
CharacterList.show()
end

View File

@@ -17,7 +17,7 @@ MainWindow
title: Charlist
size: 250 250
onEnter: CharacterList.doLogin()
onEscape: function(self) self:destroy() end
onEscape: CharacterList.hide()
TextList
id: characterList