mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload
This commit is contained in:
@@ -229,7 +229,7 @@ function CharacterList.destroy()
|
||||
end
|
||||
|
||||
function CharacterList.show()
|
||||
if not loadBox and not errorBox then
|
||||
if not loadBox and not errorBox and charactersWindow then
|
||||
charactersWindow:show()
|
||||
charactersWindow:raise()
|
||||
charactersWindow:focus()
|
||||
|
@@ -93,7 +93,9 @@ function EnterGame.init()
|
||||
addEvent(EnterGame.doLogin)
|
||||
end
|
||||
else
|
||||
enterGame:hide()
|
||||
if g_game.isOnline() then
|
||||
enterGame:hide()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
MainWindow
|
||||
id: enterGame
|
||||
!text: tr('Enter Game')
|
||||
margin-top: 100
|
||||
size: 236 274
|
||||
@onEnter: EnterGame.doLogin()
|
||||
@onEscape: EnterGame.hide()
|
||||
|
Reference in New Issue
Block a user