mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
enable enter/escape actions for windows
This commit is contained in:
@@ -16,6 +16,8 @@ MainWindow
|
||||
id: charactersWindow
|
||||
title: Charlist
|
||||
size: 250 250
|
||||
onEnter: EnterGame_characterWindow_okClicked()
|
||||
onEscape: function(self) self:destroy() end
|
||||
|
||||
TextList
|
||||
id: charactersList
|
||||
@@ -63,7 +65,4 @@ MainWindow
|
||||
anchors.bottom: parent.bottom
|
||||
margin.bottom: 16
|
||||
margin.right: 16
|
||||
onClick: |
|
||||
function(self)
|
||||
self:getParent():destroy()
|
||||
end
|
||||
onClick: function(self) self:getParent():destroy() end
|
@@ -2,6 +2,8 @@ MainWindow
|
||||
id: enterGameWindow
|
||||
title: Enter Game
|
||||
size: 236 160
|
||||
onEnter: EnterGame_connectToLoginServer()
|
||||
onEscape: function(self) self:destroy() end
|
||||
|
||||
LargerLabel
|
||||
text: Account name
|
||||
|
Reference in New Issue
Block a user