mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
map losing focus fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
UIWidget
|
||||
id: gameRootInterface
|
||||
anchors.fill: parent
|
||||
|
||||
UIMap
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user