Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload

This commit is contained in:
Henrique Santiago
2012-08-06 16:15:20 -03:00
parent 9cb4cb9a58
commit e6bd3907e1
8 changed files with 34 additions and 27 deletions

View File

@@ -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()

View File

@@ -93,7 +93,9 @@ function EnterGame.init()
addEvent(EnterGame.doLogin)
end
else
enterGame:hide()
if g_game.isOnline() then
enterGame:hide()
end
end
end

View File

@@ -1,6 +1,7 @@
MainWindow
id: enterGame
!text: tr('Enter Game')
margin-top: 100
size: 236 274
@onEnter: EnterGame.doLogin()
@onEscape: EnterGame.hide()