Some minor fixes

* UISpinBox bug with minimum/maximum
* Some fixes to UITable
* Fixed force exit bug.
* Added new next/previous ui buttons.
This commit is contained in:
BeniS
2012-07-26 22:19:34 +12:00
parent 36c029fc69
commit 5419eece66
5 changed files with 54 additions and 34 deletions

View File

@@ -113,7 +113,7 @@ function hide()
Background.show()
end
function exit()
function forceExit()
if g_game.isOnline() then
g_game.forceLogout()
scheduleEvent(exit, 10)
@@ -131,7 +131,7 @@ function tryExit()
local cancelButton = exitWindow:getChildById('buttonCancel')
local exitFunc = function()
exit()
forceExit()
end
local logoutFunc = function()
logout()